home *** CD-ROM | disk | FTP | other *** search
MacBinary | 1995-10-25 | 293.9 KB | [STAK/WILD] |
open in:
MacOS 8.1
|
Win98
|
DOS
browse contents |
view JSON data
|
view as text
This file was processed as: MacBinary
(archive/macBinary).
Confidence | Program | Detection | Match Type | Support
|
---|
100%
| dexvert
| HyperCard Stack (archive/hypercard)
| idMeta
| Supported |
10%
| dexvert
| MacBinary (archive/macBinary)
| fallback
| Supported |
100%
| file
| MacBinary II, inited, Mon Apr 12 17:55:04 1993, modified Wed Oct 25 11:55:28 1995, creator HyperCard, type HyperCard stack, 142464 bytes "TimeCache� 1.5 Demo" , at 0x22d00 158276 bytes resource
| default (weak)
| |
99%
| file
| data
| default
| |
74%
| TrID
| Mac HyperCard stack (MacBinary)
| default
| |
25%
| TrID
| MacBinary 2
| default (weak)
| |
100%
| siegfried
| fmt/1762 MacBinary (II)
| default
| |
50%
| lsar
| MacBinary
| default
|
|
id metadata |
---|
key | value |
---|
macFileType | [STAK] |
macFileCreator | [WILD] |
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 13 54 69 6d 65 43 61 | 63 68 65 aa 20 31 2e 35 |..TimeCa|che. 1.5|
|00000010| 20 44 65 6d 6f 00 00 00 | 00 00 00 00 00 00 00 00 | Demo...|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 53 54 41 4b 57 49 4c | 44 01 00 00 00 00 00 00 |.STAKWIL|D.......|
|00000050| 00 00 00 00 02 2c 80 00 | 02 6a 44 a7 ef 95 b8 ac |.....,..|.jD.....|
|00000060| b4 0e 70 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |..p.....|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 49 e7 00 00 |........|....I...|
|00000080| 00 00 6c 00 53 54 41 4b | ff ff ff ff 00 00 00 00 |..l.STAK|........|
|00000090| 00 00 00 0a 00 02 2c 80 | 00 00 6c 00 00 00 00 00 |......,.|..l.....|
|000000a0| 00 00 00 00 00 00 00 05 | 00 00 0a b8 00 00 00 05 |........|........|
|000000b0| 00 00 0b 70 00 00 1e 2d | 00 00 00 00 00 00 00 00 |...p...-|........|
|000000c0| 00 00 10 45 d0 33 db 46 | 00 05 00 00 18 00 00 00 |...E.3.F|........|
|000000d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000e0| 02 10 80 00 02 20 80 00 | 02 20 80 00 02 20 80 00 |..... ..|. ... ..|
|000000f0| 05 be 18 62 00 00 00 00 | 00 2c 00 10 01 82 02 10 |...b....|.,......|
|00000100| 00 00 00 00 01 e0 02 80 | 00 00 00 00 00 00 00 00 |........|........|
|00000110| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000120| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000130| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000140| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000150| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000160| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000170| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000180| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000190| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000200| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000210| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000220| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000230| 00 00 0d a9 00 00 0c d1 | 01 56 02 00 00 00 00 00 |........|.V......|
|00000240| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000250| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000260| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000270| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000280| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000290| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000300| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000310| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000320| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000330| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000340| 00 00 00 00 00 00 00 00 | 80 00 00 00 08 00 00 00 |........|........|
|00000350| 88 00 22 00 88 00 22 00 | 88 88 22 22 88 88 22 22 |.."...".|..""..""|
|00000360| 88 aa 22 aa 88 aa 22 aa | cc aa 33 aa cc aa 33 aa |.."...".|..3...3.|
|00000370| ee aa bb aa ee aa bb aa | ee bb bb ee ee bb bb ee |........|........|
|00000380| ff bb ff ee ff bb ff ee | ff bb ff ff ff bb ff ff |........|........|
|00000390| 80 10 02 20 01 08 40 04 | ff ff ff ff ff ff ff ff |... ..@.|........|
|000003a0| 88 22 88 22 88 22 88 22 | 11 22 44 88 11 22 44 88 |."."."."|."D.."D.|
|000003b0| c4 80 0c 68 43 02 30 26 | b1 30 03 1b d8 c0 0c 8d |...hC.0&|.0......|
|000003c0| aa 00 aa 00 aa 00 aa 00 | 88 22 55 22 88 22 55 22 |........|."U"."U"|
|000003d0| 88 55 22 55 88 55 22 55 | 77 dd 77 dd 77 dd 77 dd |.U"U.U"U|w.w.w.w.|
|000003e0| 80 00 00 00 00 00 00 00 | aa 55 aa 55 aa 55 aa 55 |........|.U.U.U.U|
|000003f0| 03 84 48 30 0c 02 01 01 | 82 44 39 44 82 01 01 01 |..H0....|.D9D....|
|00000400| 88 14 22 41 88 41 22 14 | 80 80 41 3e 08 08 14 e3 |.."A.A".|..A>....|
|00000410| 22 04 8c 74 22 17 98 10 | be 80 88 08 eb 08 88 80 |"..t"...|........|
|00000420| 25 c8 32 89 64 24 4c 92 | a2 9c 41 be 2a c9 14 eb |%.2.d$L.|..A.*...|
|00000430| 40 a0 00 00 04 0a 00 00 | 80 40 20 00 02 04 08 00 |@.......|.@ .....|
|00000440| aa 00 80 00 88 00 80 00 | ff 80 80 80 80 80 80 80 |........|........|
|00000450| 08 1c 22 c1 80 01 02 04 | ff 80 80 80 ff 08 08 08 |..".....|........|
|00000460| f8 74 22 47 8f 17 22 71 | bf 00 bf bf b0 b0 b0 b0 |.t"G.."q|........|
|00000470| ff 7f be 5d a2 41 80 00 | fa f5 fa f5 a0 50 a0 50 |...].A..|.....P.P|
|00000480| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000490| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000500| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000510| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000520| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000530| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000540| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000550| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000560| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000570| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000580| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000590| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000600| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000610| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000620| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000630| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000640| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000650| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000660| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000670| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000680| 2d 2d 20 20 54 49 4d 45 | 43 41 43 48 45 aa 20 31 |-- TIME|CACHE. 1|
|00000690| 2e 35 0d 2d 2d 20 20 43 | 6f 70 79 72 69 67 68 74 |.5.-- C|opyright|
|000006a0| 20 31 39 39 35 2c 20 54 | 68 65 20 50 61 6e 64 61 | 1995, T|he Panda|
|000006b0| 57 61 72 65 a8 20 43 6f | 6d 70 61 6e 79 0d 2d 2d |Ware. Co|mpany.--|
|000006c0| 20 20 41 6c 6c 20 72 69 | 67 68 74 73 20 72 65 73 | All ri|ghts res|
|000006d0| 65 72 76 65 64 0d 0d 6f | 6e 20 62 75 69 6c 64 53 |erved..o|n buildS|
|000006e0| 75 6d 52 65 70 6f 72 74 | 0d 73 65 74 20 63 75 72 |umReport|.set cur|
|000006f0| 73 6f 72 20 74 6f 20 77 | 61 74 63 68 0d 69 66 20 |sor to w|atch.if |
|00000700| 66 6c 64 20 69 64 20 32 | 20 3d 20 22 22 20 74 68 |fld id 2| = "" th|
|00000710| 65 6e 20 65 78 69 74 20 | 62 75 69 6c 64 53 75 6d |en exit |buildSum|
|00000720| 52 65 70 6f 72 74 0d 67 | 65 74 20 67 65 74 52 44 |Report.g|et getRD|
|00000730| 61 74 65 73 28 22 43 72 | 65 61 74 65 20 73 75 6d |ates("Cr|eate sum|
|00000740| 6d 61 72 79 20 66 6f 72 | 22 29 0d 69 66 20 69 74 |mary for|").if it|
|00000750| 20 3d 20 22 43 61 6e 63 | 65 6c 22 20 74 68 65 6e | = "Canc|el" then|
|00000760| 20 65 78 69 74 20 62 75 | 69 6c 64 53 75 6d 52 65 | exit bu|ildSumRe|
|00000770| 70 6f 72 74 0d 69 66 20 | 6c 69 6e 65 20 31 20 6f |port.if |line 1 o|
|00000780| 66 20 69 74 20 3d 20 22 | 22 20 6f 72 20 6c 69 6e |f it = "|" or lin|
|00000790| 65 20 32 20 6f 66 20 69 | 74 20 3d 20 22 22 20 74 |e 2 of i|t = "" t|
|000007a0| 68 65 6e 0d 62 61 64 44 | 61 74 65 73 57 61 72 6e |hen.badD|atesWarn|
|000007b0| 0d 65 78 69 74 20 62 75 | 69 6c 64 53 75 6d 52 65 |.exit bu|ildSumRe|
|000007c0| 70 6f 72 74 0d 65 6e 64 | 20 69 66 0d 70 75 74 20 |port.end| if.put |
|000007d0| 6c 69 6e 65 20 31 20 6f | 66 20 69 74 20 69 6e 74 |line 1 o|f it int|
|000007e0| 6f 20 73 74 61 72 74 44 | 61 74 65 0d 70 75 74 20 |o startD|ate.put |
|000007f0| 6c 69 6e 65 20 32 20 6f | 66 20 69 74 20 69 6e 74 |line 2 o|f it int|
|00000800| 6f 20 65 6e 64 44 61 74 | 65 0d 73 65 74 20 63 75 |o endDat|e.set cu|
|00000810| 72 73 6f 72 20 74 6f 20 | 77 61 74 63 68 0d 72 65 |rsor to |watch.re|
|00000820| 70 65 61 74 20 77 69 74 | 68 20 78 20 3d 20 31 20 |peat wit|h x = 1 |
|00000830| 74 6f 20 74 68 65 20 6e | 75 6d 62 65 72 20 6f 66 |to the n|umber of|
|00000840| 20 6c 69 6e 65 73 20 69 | 6e 20 66 6c 64 20 69 64 | lines i|n fld id|
|00000850| 20 32 0d 67 65 74 20 20 | 73 68 6f 72 74 54 6f 53 | 2.get |shortToS|
|00000860| 65 63 73 28 6c 69 6e 65 | 20 78 20 6f 66 20 66 6c |ecs(line| x of fl|
|00000870| 64 20 69 64 20 32 29 0d | 69 66 20 69 74 20 3c 20 |d id 2).|if it < |
|00000880| 73 74 61 72 74 44 61 74 | 65 20 6f 72 20 69 74 20 |startDat|e or it |
|00000890| 3e 20 65 6e 64 44 61 74 | 65 20 74 68 65 6e 20 6e |> endDat|e then n|
|000008a0| 65 78 74 20 72 65 70 65 | 61 74 0d 70 75 74 20 6c |ext repe|at.put l|
|000008b0| 69 6e 65 20 78 20 6f 66 | 20 66 6c 64 20 69 64 20 |ine x of| fld id |
|000008c0| 33 20 26 20 72 65 74 75 | 72 6e 20 61 66 74 65 72 |3 & retu|rn after|
|000008d0| 20 74 68 65 41 63 74 73 | 0d 70 75 74 20 6c 69 6e | theActs|.put lin|
|000008e0| 65 20 78 20 6f 66 20 66 | 6c 64 20 69 64 20 36 20 |e x of f|ld id 6 |
|000008f0| 26 20 72 65 74 75 72 6e | 20 61 66 74 65 72 20 74 |& return| after t|
|00000900| 68 65 48 6f 75 72 73 0d | 70 75 74 20 6c 69 6e 65 |heHours.|put line|
|00000910| 20 78 20 6f 66 20 66 6c | 64 20 69 64 20 35 20 26 | x of fl|d id 5 &|
|00000920| 20 72 65 74 75 72 6e 20 | 61 66 74 65 72 20 74 68 | return |after th|
|00000930| 65 43 68 61 72 67 65 73 | 0d 65 6e 64 20 72 65 70 |eCharges|.end rep|
|00000940| 65 61 74 0d 73 65 74 20 | 63 75 72 73 6f 72 20 74 |eat.set |cursor t|
|00000950| 6f 20 77 61 74 63 68 0d | 69 66 20 74 68 65 41 63 |o watch.|if theAc|
|00000960| 74 73 20 3d 20 22 22 20 | 74 68 65 6e 0d 73 64 41 |ts = "" |then.sdA|
|00000970| 6c 65 72 74 20 22 54 68 | 65 72 65 d5 73 20 6e 6f |lert "Th|ere.s no|
|00000980| 74 68 69 6e 67 20 74 6f | 20 73 75 6d 6d 61 72 69 |thing to| summari|
|00000990| 7a 65 21 22 0d 65 78 69 | 74 20 62 75 69 6c 64 53 |ze!".exi|t buildS|
|000009a0| 75 6d 52 65 70 6f 72 74 | 0d 65 6e 64 20 69 66 0d |umReport|.end if.|
|000009b0| 67 65 74 20 73 75 6d 52 | 65 70 6f 72 74 28 74 68 |get sumR|eport(th|
|000009c0| 65 41 63 74 73 2c 74 68 | 65 48 6f 75 72 73 2c 74 |eActs,th|eHours,t|
|000009d0| 68 65 43 68 61 72 67 65 | 73 29 0d 70 75 74 20 63 |heCharge|s).put c|
|000009e0| 75 72 72 65 6e 63 79 46 | 6f 72 6d 61 74 28 65 78 |urrencyF|ormat(ex|
|000009f0| 74 72 61 52 6f 75 6e 64 | 28 73 75 6d 49 74 28 74 |traRound|(sumIt(t|
|00000a00| 68 65 43 68 61 72 67 65 | 73 29 29 29 20 69 6e 74 |heCharge|s))) int|
|00000a10| 6f 20 63 68 61 72 67 65 | 54 6f 74 61 6c 0d 70 75 |o charge|Total.pu|
|00000a20| 74 20 65 78 74 72 61 52 | 6f 75 6e 64 28 73 75 6d |t extraR|ound(sum|
|00000a30| 49 74 28 74 68 65 48 6f | 75 72 73 29 29 20 69 6e |It(theHo|urs)) in|
|00000a40| 74 6f 20 68 6f 75 72 54 | 6f 74 61 6c 0d 70 75 74 |to hourT|otal.put|
|00000a50| 20 66 6c 64 20 69 64 20 | 34 34 20 69 6e 74 6f 20 | fld id |44 into |
|00000a60| 70 72 6f 6a 4e 61 6d 65 | 0d 70 75 74 20 66 6c 64 |projName|.put fld|
|00000a70| 20 69 64 20 38 20 69 6e | 74 6f 20 63 6c 69 65 6e | id 8 in|to clien|
|00000a80| 74 4e 61 6d 65 0d 70 75 | 74 20 66 6c 64 20 69 64 |tName.pu|t fld id|
|00000a90| 20 39 20 69 6e 74 6f 20 | 6a 6f 62 4e 75 6d 0d 70 | 9 into |jobNum.p|
|00000aa0| 75 74 20 6c 69 6e 65 20 | 31 20 6f 66 20 66 6c 64 |ut line |1 of fld|
|00000ab0| 20 69 64 20 31 30 20 69 | 6e 74 6f 20 63 75 73 74 | id 10 i|nto cust|
|00000ac0| 46 6c 64 0d 70 75 73 68 | 20 63 64 0d 6c 6f 63 6b |Fld.push| cd.lock|
|00000ad0| 20 73 63 72 65 65 6e 0d | 67 6f 20 62 67 20 69 64 | screen.|go bg id|
|00000ae0| 20 36 31 38 32 0d 70 75 | 74 20 69 74 65 6d 20 31 | 6182.pu|t item 1|
|00000af0| 20 6f 66 20 69 74 20 69 | 6e 74 6f 20 66 6c 64 20 | of it i|nto fld |
|00000b00| 69 64 20 31 36 0d 70 75 | 74 20 69 74 65 6d 20 32 |id 16.pu|t item 2|
|00000b10| 20 6f 66 20 69 74 20 69 | 6e 74 6f 20 66 6c 64 20 | of it i|nto fld |
|00000b20| 69 64 20 31 38 0d 70 75 | 74 20 69 74 65 6d 20 33 |id 18.pu|t item 3|
|00000b30| 20 6f 66 20 69 74 20 69 | 6e 74 6f 20 66 6c 64 20 | of it i|nto fld |
|00000b40| 69 64 20 31 37 0d 70 75 | 74 20 70 72 6f 6a 4e 61 |id 17.pu|t projNa|
|00000b50| 6d 65 20 69 6e 74 6f 20 | 66 6c 64 20 69 64 20 31 |me into |fld id 1|
|00000b60| 0d 70 75 74 20 63 6c 69 | 65 6e 74 4e 61 6d 65 20 |.put cli|entName |
|00000b70| 69 6e 74 6f 20 66 6c 64 | 20 69 64 20 32 0d 70 75 |into fld| id 2.pu|
|00000b80| 74 20 6a 6f 62 4e 75 6d | 20 69 6e 74 6f 20 66 6c |t jobNum| into fl|
|00000b90| 64 20 69 64 20 33 0d 70 | 75 74 20 63 68 61 72 67 |d id 3.p|ut charg|
|00000ba0| 65 54 6f 74 61 6c 20 69 | 6e 74 6f 20 66 6c 64 20 |eTotal i|nto fld |
|00000bb0| 69 64 20 34 0d 70 75 74 | 20 68 6f 75 72 54 6f 74 |id 4.put| hourTot|
|00000bc0| 61 6c 20 69 6e 74 6f 20 | 66 6c 64 20 69 64 20 35 |al into |fld id 5|
|00000bd0| 0d 69 66 20 63 75 73 74 | 46 6c 64 20 ad 20 22 22 |.if cust|Fld . ""|
|00000be0| 20 74 68 65 6e 20 70 75 | 74 20 63 75 73 74 46 6c | then pu|t custFl|
|00000bf0| 64 20 69 6e 74 6f 20 66 | 6c 64 20 69 64 20 39 0d |d into f|ld id 9.|
|00000c00| 63 6f 6e 76 65 72 74 20 | 73 74 61 72 74 44 61 74 |convert |startDat|
|00000c10| 65 20 74 6f 20 73 68 6f | 72 74 20 64 61 74 65 0d |e to sho|rt date.|
|00000c20| 63 6f 6e 76 65 72 74 20 | 65 6e 64 44 61 74 65 20 |convert |endDate |
|00000c30| 74 6f 20 73 68 6f 72 74 | 20 64 61 74 65 0d 70 75 |to short| date.pu|
|00000c40| 74 20 73 74 61 72 74 44 | 61 74 65 20 26 26 20 22 |t startD|ate && "|
|00000c50| 2d 22 20 26 26 20 65 6e | 64 44 61 74 65 20 69 6e |-" && en|dDate in|
|00000c60| 74 6f 20 66 6c 64 20 69 | 64 20 32 32 0d 75 6e 6c |to fld i|d 22.unl|
|00000c70| 6f 63 6b 20 73 63 72 65 | 65 6e 0d 65 6e 64 20 62 |ock scre|en.end b|
|00000c80| 75 69 6c 64 53 75 6d 52 | 65 70 6f 72 74 0d 0d 6f |uildSumR|eport..o|
|00000c90| 6e 20 6f 70 65 6e 52 70 | 74 0d 67 6c 6f 62 61 6c |n openRp|t.global|
|00000ca0| 20 74 6b 50 72 65 66 73 | 2c 72 46 69 6c 65 0d 70 | tkPrefs|,rFile.p|
|00000cb0| 75 74 20 22 22 20 69 6e | 74 6f 20 6f 6c 64 4c 6f |ut "" in|to oldLo|
|00000cc0| 63 0d 69 66 20 6c 69 6e | 65 20 31 32 20 6f 66 20 |c.if lin|e 12 of |
|00000cd0| 74 6b 50 72 65 66 73 20 | 3d 20 35 0d 74 68 65 6e |tkPrefs |= 5.then|
|00000ce0| 20 70 75 74 20 22 4f 70 | 65 6e 20 72 65 70 6f 72 | put "Op|en repor|
|00000cf0| 74 20 77 69 74 68 22 20 | 26 26 20 6c 69 6e 65 20 |t with" |&& line |
|00000d00| 34 20 6f 66 20 74 6b 50 | 72 65 66 73 20 26 20 22 |4 of tkP|refs & "|
|00000d10| 3f 22 20 69 6e 74 6f 20 | 70 72 6f 6d 70 74 0d 65 |?" into |prompt.e|
|00000d20| 6c 73 65 20 70 75 74 20 | 22 4f 70 65 6e 20 46 69 |lse put |"Open Fi|
|00000d30| 6c 65 4d 61 6b 65 72 20 | 72 65 70 6f 72 74 3f 22 |leMaker |report?"|
|00000d40| 20 69 6e 74 6f 20 70 72 | 6f 6d 70 74 0d 67 65 74 | into pr|ompt.get|
|00000d50| 20 70 72 6f 6d 70 74 44 | 6c 6f 67 28 32 36 31 39 | promptD|log(2619|
|00000d60| 2c 70 72 6f 6d 70 74 29 | 0d 69 66 20 69 74 20 3d |,prompt)|.if it =|
|00000d70| 20 34 20 6f 72 20 69 74 | 20 3d 20 32 20 74 68 65 | 4 or it| = 2 the|
|00000d80| 6e 20 65 78 69 74 20 6f | 70 65 6e 52 70 74 0d 0d |n exit o|penRpt..|
|00000d90| 69 66 20 6c 69 6e 65 20 | 31 32 20 6f 66 20 74 6b |if line |12 of tk|
|00000da0| 50 72 65 66 73 20 3d 20 | 35 20 74 68 65 6e 0d 69 |Prefs = |5 then.i|
|00000db0| 66 20 74 68 65 72 65 20 | 69 73 20 6e 6f 74 20 61 |f there |is not a|
|00000dc0| 20 66 69 6c 65 20 6c 69 | 6e 65 20 32 20 6f 66 20 | file li|ne 2 of |
|00000dd0| 74 6b 50 72 65 66 73 20 | 74 68 65 6e 0d 70 75 74 |tkPrefs |then.put|
|00000de0| 20 6c 69 6e 65 20 32 20 | 6f 66 20 74 6b 50 72 65 | line 2 |of tkPre|
|00000df0| 66 73 20 69 6e 74 6f 20 | 6f 6c 64 4c 6f 63 0d 73 |fs into |oldLoc.s|
|00000e00| 64 41 6c 65 72 74 20 22 | 43 61 6e 27 74 20 66 69 |dAlert "|Can't fi|
|00000e10| 6e 64 22 20 26 26 20 6c | 69 6e 65 20 34 20 6f 66 |nd" && l|ine 4 of|
|00000e20| 20 74 6b 50 72 65 66 73 | 0d 6a 6f 62 41 70 70 73 | tkPrefs|.jobApps|
|00000e30| 0d 65 6e 64 20 69 66 0d | 69 66 20 6c 69 6e 65 20 |.end if.|if line |
|00000e40| 32 20 6f 66 20 74 6b 50 | 72 65 66 73 20 ad 20 6f |2 of tkP|refs . o|
|00000e50| 6c 64 4c 6f 63 20 74 68 | 65 6e 20 6f 70 65 6e 20 |ldLoc th|en open |
|00000e60| 72 46 69 6c 65 20 77 69 | 74 68 20 6c 69 6e 65 20 |rFile wi|th line |
|00000e70| 32 20 6f 66 20 74 6b 50 | 72 65 66 73 0d 65 6e 64 |2 of tkP|refs.end|
|00000e80| 20 69 66 0d 0d 69 66 20 | 6c 69 6e 65 20 31 32 20 | if..if |line 12 |
|00000e90| 6f 66 20 74 6b 50 72 65 | 66 73 20 3d 20 34 20 74 |of tkPre|fs = 4 t|
|00000ea0| 68 65 6e 0d 69 66 20 74 | 68 65 72 65 20 69 73 20 |hen.if t|here is |
|00000eb0| 6e 6f 74 20 61 20 66 69 | 6c 65 20 6c 69 6e 65 20 |not a fi|le line |
|00000ec0| 31 35 20 6f 66 20 74 6b | 50 72 65 66 73 20 74 68 |15 of tk|Prefs th|
|00000ed0| 65 6e 20 66 69 6e 64 54 | 69 6d 65 52 65 70 6f 72 |en findT|imeRepor|
|00000ee0| 74 0d 69 66 20 74 68 65 | 72 65 20 69 73 20 6e 6f |t.if the|re is no|
|00000ef0| 74 20 61 20 66 69 6c 65 | 20 6c 69 6e 65 20 31 20 |t a file| line 1 |
|00000f00| 6f 66 20 74 6b 50 72 65 | 66 73 20 74 68 65 6e 0d |of tkPre|fs then.|
|00000f10| 70 75 74 20 6c 69 6e 65 | 20 31 20 6f 66 20 74 6b |put line| 1 of tk|
|00000f20| 50 72 65 66 73 20 69 6e | 74 6f 20 6f 6c 64 4c 6f |Prefs in|to oldLo|
|00000f30| 63 0d 73 64 41 6c 65 72 | 74 20 22 43 61 6e 27 74 |c.sdAler|t "Can't|
|00000f40| 20 66 69 6e 64 20 46 69 | 6c 65 4d 61 6b 65 72 22 | find Fi|leMaker"|
|00000f50| 0d 6a 6f 62 41 70 70 73 | 0d 65 6e 64 20 69 66 0d |.jobApps|.end if.|
|00000f60| 69 66 20 6c 69 6e 65 20 | 31 20 6f 66 20 74 6b 50 |if line |1 of tkP|
|00000f70| 72 65 66 73 20 ad 20 6f | 6c 64 4c 6f 63 20 74 68 |refs . o|ldLoc th|
|00000f80| 65 6e 20 6f 70 65 6e 20 | 6c 69 6e 65 20 31 35 20 |en open |line 15 |
|00000f90| 6f 66 20 74 6b 50 72 65 | 66 73 20 77 69 74 68 20 |of tkPre|fs with |
|00000fa0| 6c 69 6e 65 20 31 20 6f | 66 20 74 6b 50 72 65 66 |line 1 o|f tkPref|
|00000fb0| 73 0d 67 65 74 20 74 68 | 65 20 72 65 73 75 6c 74 |s.get th|e result|
|00000fc0| 0d 69 66 20 6f 66 66 73 | 65 74 28 22 61 70 70 6c |.if offs|et("appl|
|00000fd0| 69 63 61 74 69 6f 6e 22 | 2c 69 74 29 20 ad 20 30 |ication"|,it) . 0|
|00000fe0| 20 74 68 65 6e 20 73 64 | 41 6c 65 72 74 20 22 4e | then sd|Alert "N|
|00000ff0| 6f 74 20 65 6e 6f 75 67 | 68 20 6d 65 6d 6f 72 79 |ot enoug|h memory|
|00001000| 21 22 0d 65 6c 73 65 20 | 69 66 20 69 74 20 ad 20 |!".else |if it . |
|00001010| 22 22 20 74 68 65 6e 20 | 6f 70 65 6e 20 6c 69 6e |"" then |open lin|
|00001020| 65 20 31 20 6f 66 20 74 | 6b 50 72 65 66 73 0d 65 |e 1 of t|kPrefs.e|
|00001030| 6e 64 20 69 66 0d 65 6e | 64 20 6f 70 65 6e 52 70 |nd if.en|d openRp|
|00001040| 74 0d 0d 6f 6e 20 77 72 | 69 74 65 52 65 70 6f 72 |t..on wr|iteRepor|
|00001050| 74 0d 67 6c 6f 62 61 6c | 20 74 65 78 74 2c 72 46 |t.global| text,rF|
|00001060| 69 6c 65 2c 74 6b 50 72 | 65 66 73 0d 6f 70 65 6e |ile,tkPr|efs.open|
|00001070| 20 66 69 6c 65 20 72 46 | 69 6c 65 0d 69 66 20 74 | file rF|ile.if t|
|00001080| 68 65 20 72 65 73 75 6c | 74 20 ad 20 22 22 20 74 |he resul|t . "" t|
|00001090| 68 65 6e 0d 67 65 74 20 | 74 68 65 20 72 65 73 75 |hen.get |the resu|
|000010a0| 6c 74 0d 62 65 65 70 0d | 73 64 41 6c 65 72 74 20 |lt.beep.|sdAlert |
|000010b0| 69 74 20 26 26 20 22 43 | 61 6e d5 74 20 63 6f 6d |it && "C|an.t com|
|000010c0| 70 6c 65 74 65 20 65 78 | 70 6f 72 74 2e 22 0d 70 |plete ex|port.".p|
|000010d0| 75 74 20 22 22 20 69 6e | 74 6f 20 74 65 78 74 0d |ut "" in|to text.|
|000010e0| 65 78 69 74 20 77 72 69 | 74 65 52 65 70 6f 72 74 |exit wri|teReport|
|000010f0| 0d 65 6e 64 20 69 66 0d | 77 72 69 74 65 20 74 65 |.end if.|write te|
|00001100| 78 74 20 74 6f 20 66 69 | 6c 65 20 72 46 69 6c 65 |xt to fi|le rFile|
|00001110| 0d 63 6c 6f 73 65 20 66 | 69 6c 65 20 72 46 69 6c |.close f|ile rFil|
|00001120| 65 0d 70 75 74 20 22 22 | 20 69 6e 74 6f 20 74 65 |e.put ""| into te|
|00001130| 78 74 0d 69 66 20 6c 69 | 6e 65 20 31 39 20 6f 66 |xt.if li|ne 19 of|
|00001140| 20 74 6b 50 72 65 66 73 | 20 3d 20 22 54 52 55 45 | tkPrefs| = "TRUE|
|00001150| 22 20 74 68 65 6e 20 6f | 70 65 6e 52 70 74 0d 65 |" then o|penRpt.e|
|00001160| 6e 64 20 77 72 69 74 65 | 52 65 70 6f 72 74 0d 0d |nd write|Report..|
|00001170| 6f 6e 20 73 64 41 6c 65 | 72 74 20 70 72 6f 6d 70 |on sdAle|rt promp|
|00001180| 74 0d 67 65 74 20 70 72 | 6f 6d 70 74 44 6c 6f 67 |t.get pr|omptDlog|
|00001190| 28 32 39 35 31 2c 70 72 | 6f 6d 70 74 29 0d 65 6e |(2951,pr|ompt).en|
|000011a0| 64 20 73 64 41 6c 65 72 | 74 0d 0d 6f 6e 20 73 68 |d sdAler|t..on sh|
|000011b0| 6f 77 54 4b 4e 61 76 0d | 67 6c 6f 62 61 6c 20 74 |owTKNav.|global t|
|000011c0| 6b 50 72 65 66 73 2c 70 | 61 6c 48 69 0d 69 66 20 |kPrefs,p|alHi.if |
|000011d0| 74 68 65 72 65 20 69 73 | 20 6e 6f 74 20 61 20 77 |there is| not a w|
|000011e0| 69 6e 64 6f 77 20 22 73 | 65 63 74 4e 61 76 22 0d |indow "s|ectNav".|
|000011f0| 74 68 65 6e 20 70 61 6c | 65 74 74 65 20 22 73 65 |then pal|ette "se|
|00001200| 63 74 4e 61 76 22 2c 74 | 6b 4e 61 76 4c 6f 63 28 |ctNav",t|kNavLoc(|
|00001210| 29 0d 73 65 74 20 74 68 | 65 20 68 69 6c 69 74 65 |).set th|e hilite|
|00001220| 64 42 75 74 74 6f 6e 20 | 6f 66 20 77 69 6e 64 6f |dButton |of windo|
|00001230| 77 20 22 73 65 63 74 4e | 61 76 22 20 74 6f 20 70 |w "sectN|av" to p|
|00001240| 61 6c 48 69 0d 70 75 74 | 20 22 48 69 64 65 20 4e |alHi.put| "Hide N|
|00001250| 61 76 69 67 61 74 6f 72 | 22 20 69 6e 74 6f 20 6d |avigator|" into m|
|00001260| 65 6e 75 49 74 65 6d 20 | 31 32 20 6f 66 20 6d 65 |enuItem |12 of me|
|00001270| 6e 75 20 47 6f 0d 70 75 | 74 20 22 48 69 64 65 22 |nu Go.pu|t "Hide"|
|00001280| 20 69 6e 74 6f 20 6c 69 | 6e 65 20 32 32 20 6f 66 | into li|ne 22 of|
|00001290| 20 74 6b 50 72 65 66 73 | 0d 65 6e 64 20 73 68 6f | tkPrefs|.end sho|
|000012a0| 77 54 4b 4e 61 76 0d 0d | 6f 6e 20 6f 70 65 6e 53 |wTKNav..|on openS|
|000012b0| 74 61 63 6b 0d 67 6c 6f | 62 61 6c 20 7a 2c 74 6b |tack.glo|bal z,tk|
|000012c0| 50 72 65 66 73 2c 70 61 | 6c 48 69 2c 74 69 6d 65 |Prefs,pa|lHi,time|
|000012d0| 72 4f 6e 0d 73 65 74 20 | 74 68 65 20 63 61 6e 74 |rOn.set |the cant|
|000012e0| 61 62 6f 72 74 20 6f 66 | 20 74 68 69 73 20 73 74 |abort of| this st|
|000012f0| 61 63 6b 20 74 6f 20 74 | 72 75 65 0d 6c 6f 63 6b |ack to t|rue.lock|
|00001300| 20 73 63 72 65 65 6e 0d | 69 66 20 63 68 61 72 20 | screen.|if char |
|00001310| 31 20 6f 66 20 74 68 65 | 20 76 65 72 73 69 6f 6e |1 of the| version|
|00001320| 20 3c 20 32 20 74 68 65 | 6e 0d 73 64 41 6c 65 72 | < 2 the|n.sdAler|
|00001330| 74 20 22 53 6f 72 72 79 | 2e 20 54 69 6d 65 43 61 |t "Sorry|. TimeCa|
|00001340| 63 68 65 20 72 65 71 75 | 69 72 65 73 20 48 79 70 |che requ|ires Hyp|
|00001350| 65 72 43 61 72 64 20 76 | 65 72 73 69 6f 6e 20 32 |erCard v|ersion 2|
|00001360| 2e 30 20 6f 72 20 68 69 | 67 68 65 72 2e 22 0d 67 |.0 or hi|gher.".g|
|00001370| 6f 20 68 6f 6d 65 0d 65 | 6e 64 20 69 66 0d 69 66 |o home.e|nd if.if|
|00001380| 20 66 6c 64 20 69 64 20 | 31 35 20 6f 66 20 63 64 | fld id |15 of cd|
|00001390| 20 31 20 3d 20 22 22 20 | 74 68 65 6e 20 70 75 74 | 1 = "" |then put|
|000013a0| 20 74 68 65 20 6c 6f 6e | 67 20 64 61 74 65 20 69 | the lon|g date i|
|000013b0| 6e 74 6f 20 66 6c 64 20 | 69 64 20 31 35 20 6f 66 |nto fld |id 15 of|
|000013c0| 20 63 64 20 31 0d 69 66 | 20 7a 20 3d 20 22 22 20 | cd 1.if| z = "" |
|000013d0| 74 68 65 6e 20 70 75 74 | 20 31 20 2b 20 28 74 68 |then put| 1 + (th|
|000013e0| 65 20 6e 75 6d 62 65 72 | 20 6f 66 20 6c 69 6e 65 |e number| of line|
|000013f0| 73 20 69 6e 20 66 6c 64 | 20 69 64 20 31 20 6f 66 |s in fld| id 1 of|
|00001400| 20 63 64 20 31 29 20 69 | 6e 74 6f 20 7a 0d 70 75 | cd 1) i|nto z.pu|
|00001410| 74 20 66 6c 64 20 69 64 | 20 34 38 20 6f 66 20 63 |t fld id| 48 of c|
|00001420| 64 20 31 20 69 6e 74 6f | 20 74 6b 50 72 65 66 73 |d 1 into| tkPrefs|
|00001430| 0d 69 66 20 6c 69 6e 65 | 20 35 20 6f 66 20 74 6b |.if line| 5 of tk|
|00001440| 50 72 65 66 73 20 3d 20 | 22 22 20 74 68 65 6e 20 |Prefs = |"" then |
|00001450| 6c 6f 61 64 50 72 65 66 | 73 0d 69 66 20 67 65 74 |loadPref|s.if get|
|00001460| 54 69 6d 65 64 4c 69 6e | 65 28 29 20 ad 20 22 22 |TimedLin|e() . ""|
|00001470| 20 74 68 65 6e 20 70 75 | 74 20 74 72 75 65 20 69 | then pu|t true i|
|00001480| 6e 74 6f 20 74 69 6d 65 | 72 4f 6e 0d 73 74 61 72 |nto time|rOn.star|
|00001490| 74 53 74 75 66 66 0d 69 | 66 20 6c 69 6e 65 20 32 |tStuff.i|f line 2|
|000014a0| 34 20 6f 66 20 74 6b 50 | 72 65 66 73 20 3d 20 22 |4 of tkP|refs = "|
|000014b0| 22 20 74 68 65 6e 20 70 | 75 74 20 22 24 2c 35 22 |" then p|ut "$,5"|
|000014c0| 20 69 6e 74 6f 20 6c 69 | 6e 65 20 32 34 20 6f 66 | into li|ne 24 of|
|000014d0| 20 74 6b 50 72 65 66 73 | 0d 64 69 73 61 62 6c 65 | tkPrefs|.disable|
|000014e0| 20 6d 65 6e 75 49 74 65 | 6d 20 34 20 6f 66 20 6d | menuIte|m 4 of m|
|000014f0| 65 6e 75 20 46 69 6c 65 | 0d 64 69 73 61 62 6c 65 |enu File|.disable|
|00001500| 20 6d 65 6e 75 49 74 65 | 6d 20 37 20 6f 66 20 6d | menuIte|m 7 of m|
|00001510| 65 6e 75 20 47 6f 0d 75 | 6e 6c 6f 63 6b 20 73 63 |enu Go.u|nlock sc|
|00001520| 72 65 65 6e 0d 65 6e 64 | 20 6f 70 65 6e 53 74 61 |reen.end| openSta|
|00001530| 63 6b 0d 0d 6f 6e 20 72 | 65 73 75 6d 65 53 74 61 |ck..on r|esumeSta|
|00001540| 63 6b 0d 67 6c 6f 62 61 | 6c 20 62 67 69 64 2c 74 |ck.globa|l bgid,t|
|00001550| 6b 50 72 65 66 73 2c 70 | 61 6c 48 69 0d 73 65 74 |kPrefs,p|alHi.set|
|00001560| 20 63 75 72 73 6f 72 20 | 74 6f 20 77 61 74 63 68 | cursor |to watch|
|00001570| 0d 73 74 61 72 74 53 74 | 75 66 66 0d 69 66 20 74 |.startSt|uff.if t|
|00001580| 68 65 72 65 20 69 73 20 | 61 20 77 69 6e 64 6f 77 |here is |a window|
|00001590| 20 22 73 65 63 74 4e 61 | 76 22 0d 74 68 65 6e 20 | "sectNa|v".then |
|000015a0| 73 65 74 20 74 68 65 20 | 68 69 6c 69 74 65 64 42 |set the |hilitedB|
|000015b0| 75 74 74 6f 6e 20 6f 66 | 20 77 69 6e 64 6f 77 20 |utton of| window |
|000015c0| 22 73 65 63 74 4e 61 76 | 22 20 74 6f 20 70 61 6c |"sectNav|" to pal|
|000015d0| 48 69 0d 73 65 74 20 74 | 68 65 20 63 61 6e 74 61 |Hi.set t|he canta|
|000015e0| 62 6f 72 74 20 6f 66 20 | 74 68 69 73 20 73 74 61 |bort of |this sta|
|000015f0| 63 6b 20 74 6f 20 74 72 | 75 65 0d 70 75 74 20 66 |ck to tr|ue.put f|
|00001600| 6c 64 20 69 64 20 34 38 | 20 6f 66 20 63 64 20 31 |ld id 48| of cd 1|
|00001610| 20 69 6e 74 6f 20 74 6b | 50 72 65 66 73 0d 69 66 | into tk|Prefs.if|
|00001620| 20 62 67 69 64 20 ad 20 | 22 22 20 74 68 65 6e 20 | bgid . |"" then |
|00001630| 73 65 6e 64 20 6f 70 65 | 6e 42 61 63 6b 67 72 6f |send ope|nBackgro|
|00001640| 75 6e 64 20 74 6f 20 62 | 67 20 69 64 20 62 67 69 |und to b|g id bgi|
|00001650| 64 0d 64 69 73 61 62 6c | 65 20 6d 65 6e 75 49 74 |d.disabl|e menuIt|
|00001660| 65 6d 20 35 20 6f 66 20 | 6d 65 6e 75 20 46 69 6c |em 5 of |menu Fil|
|00001670| 65 0d 65 6e 64 20 72 65 | 73 75 6d 65 53 74 61 63 |e.end re|sumeStac|
|00001680| 6b 0d 0d 6f 6e 20 73 74 | 61 72 74 53 74 75 66 66 |k..on st|artStuff|
|00001690| 0d 67 6c 6f 62 61 6c 20 | 62 67 69 64 2c 74 6b 50 |.global |bgid,tkP|
|000016a0| 72 65 66 73 2c 73 74 61 | 72 74 4c 65 76 65 6c 2c |refs,sta|rtLevel,|
|000016b0| 6d 73 67 4c 6f 63 0d 6c | 6f 63 6b 20 73 63 72 65 |msgLoc.l|ock scre|
|000016c0| 65 6e 0d 70 75 74 20 74 | 68 65 20 75 73 65 72 4c |en.put t|he userL|
|000016d0| 65 76 65 6c 20 69 6e 74 | 6f 20 73 74 61 72 74 4c |evel int|o startL|
|000016e0| 65 76 65 6c 0d 70 75 74 | 20 66 6c 64 20 69 64 20 |evel.put| fld id |
|000016f0| 34 38 20 6f 66 20 63 64 | 20 31 20 69 6e 74 6f 20 |48 of cd| 1 into |
|00001700| 74 6b 50 72 65 66 73 0d | 70 75 74 20 6c 6f 63 20 |tkPrefs.|put loc |
|00001710| 6f 66 20 77 69 6e 64 6f | 77 20 22 6d 65 73 73 61 |of windo|w "messa|
|00001720| 67 65 22 20 69 6e 74 6f | 20 6d 73 67 4c 6f 63 0d |ge" into| msgLoc.|
|00001730| 69 66 20 74 68 65 20 6f | 70 74 69 6f 6e 4b 65 79 |if the o|ptionKey|
|00001740| 20 ad 20 64 6f 77 6e 20 | 74 68 65 6e 20 73 65 74 | . down |then set|
|00001750| 20 6c 6f 63 20 6f 66 20 | 77 69 6e 64 6f 77 20 22 | loc of |window "|
|00001760| 6d 65 73 73 61 67 65 22 | 20 74 6f 20 35 30 30 30 |message"| to 5000|
|00001770| 2c 35 30 30 30 0d 63 68 | 6f 6f 73 65 20 62 72 6f |,5000.ch|oose bro|
|00001780| 77 73 65 20 74 6f 6f 6c | 0d 68 69 64 65 20 73 63 |wse tool|.hide sc|
|00001790| 72 6f 6c 6c 20 77 69 6e | 64 6f 77 0d 68 69 64 65 |roll win|dow.hide|
|000017a0| 20 70 61 74 74 65 72 6e | 20 77 69 6e 64 6f 77 0d | pattern| window.|
|000017b0| 68 69 64 65 20 74 6f 6f | 6c 20 77 69 6e 64 6f 77 |hide too|l window|
|000017c0| 0d 73 65 74 20 74 68 65 | 20 63 61 6e 74 50 65 65 |.set the| cantPee|
|000017d0| 6b 20 6f 66 20 74 68 69 | 73 20 73 74 61 63 6b 20 |k of thi|s stack |
|000017e0| 74 6f 20 74 72 75 65 0d | 69 66 20 74 68 65 72 65 |to true.|if there|
|000017f0| 20 69 73 20 61 20 6d 65 | 6e 75 20 22 4f 62 6a 65 | is a me|nu "Obje|
|00001800| 63 74 73 22 20 74 68 65 | 6e 20 64 65 6c 65 74 65 |cts" the|n delete|
|00001810| 20 6d 65 6e 75 20 22 4f | 62 6a 65 63 74 73 22 0d | menu "O|bjects".|
|00001820| 69 66 20 74 68 65 72 65 | 20 69 73 20 61 20 6d 65 |if there| is a me|
|00001830| 6e 75 20 22 54 6f 6f 6c | 73 22 20 74 68 65 6e 20 |nu "Tool|s" then |
|00001840| 64 65 6c 65 74 65 20 6d | 65 6e 75 20 22 54 6f 6f |delete m|enu "Too|
|00001850| 6c 73 22 0d 69 66 20 74 | 68 65 72 65 20 69 73 20 |ls".if t|here is |
|00001860| 61 20 6d 65 6e 75 20 22 | 46 6f 6e 74 22 20 74 68 |a menu "|Font" th|
|00001870| 65 6e 20 64 65 6c 65 74 | 65 20 6d 65 6e 75 20 22 |en delet|e menu "|
|00001880| 46 6f 6e 74 22 0d 69 66 | 20 74 68 65 72 65 20 69 |Font".if| there i|
|00001890| 73 20 61 20 6d 65 6e 75 | 20 22 53 74 79 6c 65 22 |s a menu| "Style"|
|000018a0| 20 74 68 65 6e 20 64 65 | 6c 65 74 65 20 6d 65 6e | then de|lete men|
|000018b0| 75 20 22 53 74 79 6c 65 | 22 0d 69 66 20 74 68 65 |u "Style|".if the|
|000018c0| 72 65 20 69 73 20 61 20 | 6d 65 6e 75 20 22 47 6f |re is a |menu "Go|
|000018d0| 22 20 74 68 65 6e 20 64 | 65 6c 65 74 65 20 6d 65 |" then d|elete me|
|000018e0| 6e 75 20 22 47 6f 22 0d | 69 66 20 74 68 65 72 65 |nu "Go".|if there|
|000018f0| 20 69 73 20 61 20 6d 65 | 6e 75 20 22 45 64 69 74 | is a me|nu "Edit|
|00001900| 22 20 74 68 65 6e 20 64 | 65 6c 65 74 65 20 6d 65 |" then d|elete me|
|00001910| 6e 75 20 22 45 64 69 74 | 22 0d 69 66 20 74 68 65 |nu "Edit|".if the|
|00001920| 72 65 20 69 73 20 61 20 | 6d 65 6e 75 20 22 46 69 |re is a |menu "Fi|
|00001930| 6c 65 22 20 74 68 65 6e | 20 64 65 6c 65 74 65 20 |le" then| delete |
|00001940| 6d 65 6e 75 20 22 46 69 | 6c 65 22 0d 73 65 74 20 |menu "Fi|le".set |
|00001950| 74 68 65 20 75 73 65 72 | 4c 65 76 65 6c 20 74 6f |the user|Level to|
|00001960| 20 33 0d 74 6b 4d 65 6e | 75 73 20 62 75 69 6c 64 | 3.tkMen|us build|
|00001970| 0d 73 68 6f 77 20 6d 65 | 6e 75 42 61 72 0d 70 75 |.show me|nuBar.pu|
|00001980| 74 20 22 41 62 6f 75 74 | 20 54 69 6d 65 43 61 63 |t "About| TimeCac|
|00001990| 68 65 22 20 69 6e 74 6f | 20 6d 65 6e 75 49 74 65 |he" into| menuIte|
|000019a0| 6d 20 31 20 6f 66 20 6d | 65 6e 75 20 41 70 70 6c |m 1 of m|enu Appl|
|000019b0| 65 0d 70 75 74 20 22 2d | 2c 22 20 26 20 6c 69 6e |e.put "-|," & lin|
|000019c0| 65 20 32 32 20 6f 66 20 | 74 6b 50 72 65 66 73 20 |e 22 of |tkPrefs |
|000019d0| 26 26 20 22 4e 61 76 69 | 67 61 74 6f 72 22 20 61 |&& "Navi|gator" a|
|000019e0| 66 74 65 72 20 6d 65 6e | 75 20 47 6f 0d 69 66 20 |fter men|u Go.if |
|000019f0| 6c 69 6e 65 20 32 32 20 | 6f 66 20 74 6b 50 72 65 |line 22 |of tkPre|
|00001a00| 66 73 20 3d 20 22 22 20 | 74 68 65 6e 20 70 75 74 |fs = "" |then put|
|00001a10| 20 22 48 69 64 65 22 20 | 69 6e 74 6f 20 6c 69 6e | "Hide" |into lin|
|00001a20| 65 20 32 32 20 6f 66 20 | 74 6b 50 72 65 66 73 0d |e 22 of |tkPrefs.|
|00001a30| 69 66 20 6c 69 6e 65 20 | 32 32 20 6f 66 20 74 6b |if line |22 of tk|
|00001a40| 50 72 65 66 73 20 3d 20 | 22 48 69 64 65 22 20 74 |Prefs = |"Hide" t|
|00001a50| 68 65 6e 20 73 68 6f 77 | 54 4b 4e 61 76 0d 70 75 |hen show|TKNav.pu|
|00001a60| 74 20 74 68 65 20 6c 6f | 63 20 6f 66 20 63 61 72 |t the lo|c of car|
|00001a70| 64 20 77 69 6e 64 6f 77 | 20 69 6e 74 6f 20 6c 69 |d window| into li|
|00001a80| 6e 65 20 32 35 20 6f 66 | 20 74 6b 50 72 65 66 73 |ne 25 of| tkPrefs|
|00001a90| 0d 69 66 20 74 68 65 20 | 6e 75 6d 62 65 72 20 6f |.if the |number o|
|00001aa0| 66 20 6c 69 6e 65 73 20 | 69 6e 20 74 68 65 20 73 |f lines |in the s|
|00001ab0| 74 61 63 6b 73 20 3e 20 | 31 20 74 68 65 6e 20 65 |tacks > |1 then e|
|00001ac0| 6e 61 62 6c 65 20 6d 65 | 6e 75 49 74 65 6d 20 32 |nable me|nuItem 2|
|00001ad0| 20 6f 66 20 6d 65 6e 75 | 20 46 69 6c 65 0d 65 6c | of menu| File.el|
|00001ae0| 73 65 20 64 69 73 61 62 | 6c 65 20 6d 65 6e 75 49 |se disab|le menuI|
|00001af0| 74 65 6d 20 32 20 6f 66 | 20 6d 65 6e 75 20 46 69 |tem 2 of| menu Fi|
|00001b00| 6c 65 0d 75 6e 6c 6f 63 | 6b 20 73 63 72 65 65 6e |le.unloc|k screen|
|00001b10| 0d 65 6e 64 20 73 74 61 | 72 74 53 74 75 66 66 0d |.end sta|rtStuff.|
|00001b20| 0d 6f 6e 20 73 75 73 70 | 65 6e 64 53 74 61 63 6b |.on susp|endStack|
|00001b30| 0d 67 6c 6f 62 61 6c 20 | 62 67 69 64 0d 70 75 74 |.global |bgid.put|
|00001b40| 20 74 68 65 20 69 64 20 | 6f 66 20 74 68 69 73 20 | the id |of this |
|00001b50| 62 67 20 69 6e 74 6f 20 | 62 67 69 64 0d 63 6c 6f |bg into |bgid.clo|
|00001b60| 73 65 53 74 75 66 66 0d | 70 61 73 73 20 73 75 73 |seStuff.|pass sus|
|00001b70| 70 65 6e 64 53 74 61 63 | 6b 0d 65 6e 64 20 73 75 |pendStac|k.end su|
|00001b80| 73 70 65 6e 64 53 74 61 | 63 6b 0d 0d 6f 6e 20 63 |spendSta|ck..on c|
|00001b90| 6c 6f 73 65 53 74 75 66 | 66 0d 67 6c 6f 62 61 6c |loseStuf|f.global|
|00001ba0| 20 73 74 61 72 74 4c 65 | 76 65 6c 2c 74 6b 50 72 | startLe|vel,tkPr|
|00001bb0| 65 66 73 2c 70 61 73 74 | 65 4d 6f 64 65 2c 62 67 |efs,past|eMode,bg|
|00001bc0| 69 64 2c 70 61 6c 48 69 | 2c 6d 73 67 4c 6f 63 0d |id,palHi|,msgLoc.|
|00001bd0| 73 65 74 20 63 75 72 73 | 6f 72 20 74 6f 20 77 61 |set curs|or to wa|
|00001be0| 74 63 68 0d 69 66 20 70 | 61 73 74 65 4d 6f 64 65 |tch.if p|asteMode|
|00001bf0| 20 3d 20 74 72 75 65 20 | 74 68 65 6e 20 72 65 73 | = true |then res|
|00001c00| 74 6f 72 65 4d 6f 76 65 | 0d 69 66 20 74 68 65 72 |toreMove|.if ther|
|00001c10| 65 20 69 73 20 61 20 77 | 69 6e 64 6f 77 20 22 73 |e is a w|indow "s|
|00001c20| 74 61 72 74 4d 6f 76 65 | 22 20 74 68 65 6e 20 63 |tartMove|" then c|
|00001c30| 6c 6f 73 65 20 77 69 6e | 64 6f 77 20 22 73 74 61 |lose win|dow "sta|
|00001c40| 72 74 4d 6f 76 65 22 0d | 69 66 20 74 68 65 72 65 |rtMove".|if there|
|00001c50| 20 69 73 20 61 20 77 69 | 6e 64 6f 77 20 22 64 6f | is a wi|ndow "do|
|00001c60| 4d 6f 76 65 22 20 74 68 | 65 6e 20 63 6c 6f 73 65 |Move" th|en close|
|00001c70| 20 77 69 6e 64 6f 77 20 | 22 64 6f 4d 6f 76 65 22 | window |"doMove"|
|00001c80| 0d 70 75 74 20 6c 69 6e | 65 20 32 32 20 6f 66 20 |.put lin|e 22 of |
|00001c90| 74 6b 50 72 65 66 73 20 | 69 6e 74 6f 20 6e 61 76 |tkPrefs |into nav|
|00001ca0| 42 6f 6f 6c 0d 69 66 20 | 74 68 65 72 65 20 69 73 |Bool.if |there is|
|00001cb0| 20 61 20 77 69 6e 64 6f | 77 20 22 73 65 63 74 4e | a windo|w "sectN|
|00001cc0| 61 76 22 20 74 68 65 6e | 20 63 6c 6f 73 65 20 77 |av" then| close w|
|00001cd0| 69 6e 64 6f 77 20 22 73 | 65 63 74 4e 61 76 22 0d |indow "s|ectNav".|
|00001ce0| 70 75 74 20 6e 61 76 42 | 6f 6f 6c 20 69 6e 74 6f |put navB|ool into|
|00001cf0| 20 6c 69 6e 65 20 32 32 | 20 6f 66 20 74 6b 50 72 | line 22| of tkPr|
|00001d00| 65 66 73 0d 70 72 65 66 | 53 65 74 0d 69 66 20 74 |efs.pref|Set.if t|
|00001d10| 68 65 72 65 20 69 73 20 | 61 20 6d 65 6e 75 20 54 |here is |a menu T|
|00001d20| 69 6d 65 43 61 63 68 65 | 20 74 68 65 6e 20 54 4b |imeCache| then TK|
|00001d30| 4d 65 6e 75 73 20 64 65 | 6c 65 74 65 0d 72 65 73 |Menus de|lete.res|
|00001d40| 65 74 20 6d 65 6e 75 42 | 61 72 0d 73 65 74 20 74 |et menuB|ar.set t|
|00001d50| 68 65 20 75 73 65 72 4c | 65 76 65 6c 20 74 6f 20 |he userL|evel to |
|00001d60| 73 74 61 72 74 4c 65 76 | 65 6c 0d 73 65 74 20 74 |startLev|el.set t|
|00001d70| 68 65 20 6c 6f 63 20 6f | 66 20 77 69 6e 64 6f 77 |he loc o|f window|
|00001d80| 20 22 4d 65 73 73 61 67 | 65 22 20 74 6f 20 6d 73 | "Messag|e" to ms|
|00001d90| 67 4c 6f 63 0d 65 6e 64 | 20 63 6c 6f 73 65 53 74 |gLoc.end| closeSt|
|00001da0| 75 66 66 0d 0d 6f 6e 20 | 63 6c 6f 73 65 53 74 61 |uff..on |closeSta|
|00001db0| 63 6b 0d 67 6c 6f 62 61 | 6c 20 62 67 69 64 2c 70 |ck.globa|l bgid,p|
|00001dc0| 61 6c 48 69 0d 69 66 20 | 66 72 65 65 53 69 7a 65 |alHi.if |freeSize|
|00001dd0| 20 6f 66 20 74 68 69 73 | 20 73 74 61 63 6b 20 3e | of this| stack >|
|00001de0| 20 31 32 30 30 30 20 74 | 68 65 6e 20 64 6f 4d 65 | 12000 t|hen doMe|
|00001df0| 6e 75 20 22 43 6f 6d 70 | 61 63 74 20 53 74 61 63 |nu "Comp|act Stac|
|00001e00| 6b 22 0d 63 6c 6f 73 65 | 53 74 75 66 66 0d 69 66 |k".close|Stuff.if|
|00001e10| 20 74 68 65 20 76 69 73 | 69 62 6c 65 20 6f 66 20 | the vis|ible of |
|00001e20| 66 6c 64 20 69 64 20 35 | 38 20 6f 66 20 63 64 20 |fld id 5|8 of cd |
|00001e30| 31 20 3d 20 74 72 75 65 | 20 74 68 65 6e 20 68 69 |1 = true| then hi|
|00001e40| 64 65 48 65 6c 70 0d 70 | 75 74 20 22 22 20 69 6e |deHelp.p|ut "" in|
|00001e50| 74 6f 20 62 67 69 64 0d | 70 75 74 20 22 22 20 69 |to bgid.|put "" i|
|00001e60| 6e 74 6f 20 70 61 6c 48 | 69 0d 65 6e 64 20 63 6c |nto palH|i.end cl|
|00001e70| 6f 73 65 53 74 61 63 6b | 0d 0d 6f 6e 20 64 65 6c |oseStack|..on del|
|00001e80| 43 61 72 64 0d 67 6c 6f | 62 61 6c 20 63 61 72 64 |Card.glo|bal card|
|00001e90| 4e 75 6d 2c 63 75 74 4c | 69 6e 65 2c 66 72 6f 6d |Num,cutL|ine,from|
|00001ea0| 46 69 65 6c 64 2c 74 72 | 75 6e 63 46 69 65 6c 64 |Field,tr|uncField|
|00001eb0| 0d 69 66 20 74 68 65 20 | 6e 75 6d 62 65 72 20 6f |.if the |number o|
|00001ec0| 66 20 63 64 73 20 69 6e | 20 74 68 69 73 20 62 67 |f cds in| this bg|
|00001ed0| 20 3c 20 32 20 6f 72 20 | 74 68 65 20 63 61 6e 74 | < 2 or |the cant|
|00001ee0| 64 65 6c 65 74 65 20 6f | 66 20 74 68 69 73 20 63 |delete o|f this c|
|00001ef0| 64 20 3d 20 74 72 75 65 | 20 74 68 65 6e 0d 62 65 |d = true| then.be|
|00001f00| 65 70 20 6f 6e 65 0d 73 | 64 41 6c 65 72 74 20 22 |ep one.s|dAlert "|
|00001f10| 53 6f 72 72 79 2c 20 79 | 6f 75 20 63 61 6e d5 74 |Sorry, y|ou can.t|
|00001f20| 20 64 65 6c 65 74 65 20 | 74 68 69 73 20 63 61 72 | delete |this car|
|00001f30| 64 21 22 0d 65 78 69 74 | 20 64 65 6c 43 61 72 64 |d!".exit| delCard|
|00001f40| 0d 65 6e 64 20 69 66 0d | 62 65 65 70 0d 67 65 74 |.end if.|beep.get|
|00001f50| 20 70 72 6f 6d 70 74 44 | 6c 6f 67 28 31 36 30 35 | promptD|log(1605|
|00001f60| 30 2c 22 59 6f 75 20 64 | 6f 6e d5 74 20 52 45 41 |0,"You d|on.t REA|
|00001f70| 4c 4c 59 20 77 61 6e 74 | 20 74 6f 20 64 65 73 74 |LLY want| to dest|
|00001f80| 72 6f 79 20 61 6c 6c 20 | 74 68 69 73 20 64 61 74 |roy all |this dat|
|00001f90| 61 2c 20 44 4f 20 59 4f | 55 3f 22 29 0d 69 66 20 |a, DO YO|U?").if |
|00001fa0| 69 74 20 3d 20 31 20 74 | 68 65 6e 20 65 78 69 74 |it = 1 t|hen exit|
|00001fb0| 20 64 65 6c 43 61 72 64 | 0d 73 65 74 20 74 68 65 | delCard|.set the|
|00001fc0| 20 63 75 72 73 6f 72 20 | 74 6f 20 77 61 74 63 68 | cursor |to watch|
|00001fd0| 0d 73 65 74 20 6c 6f 63 | 6b 53 63 72 65 65 6e 20 |.set loc|kScreen |
|00001fe0| 74 6f 20 74 72 75 65 0d | 70 75 74 20 74 68 65 20 |to true.|put the |
|00001ff0| 69 64 20 6f 66 20 74 68 | 69 73 20 62 67 20 69 6e |id of th|is bg in|
|00002000| 74 6f 20 63 75 72 42 47 | 0d 70 75 74 20 74 68 65 |to curBG|.put the|
|00002010| 20 73 68 6f 72 74 20 6e | 61 6d 65 20 6f 66 20 74 | short n|ame of t|
|00002020| 68 69 73 20 63 64 20 69 | 6e 74 6f 20 63 61 72 64 |his cd i|nto card|
|00002030| 4e 61 6d 65 0d 69 66 20 | 77 6f 72 64 20 31 20 6f |Name.if |word 1 o|
|00002040| 66 20 63 61 72 64 4e 61 | 6d 65 20 3d 20 22 41 72 |f cardNa|me = "Ar|
|00002050| 63 22 20 74 68 65 6e 0d | 70 75 74 20 35 32 20 69 |c" then.|put 52 i|
|00002060| 6e 74 6f 20 66 72 6f 6d | 46 69 65 6c 64 0d 70 75 |nto from|Field.pu|
|00002070| 74 20 34 37 20 69 6e 74 | 6f 20 74 72 75 6e 63 46 |t 47 int|o truncF|
|00002080| 69 65 6c 64 0d 65 6c 73 | 65 0d 70 75 74 20 31 37 |ield.els|e.put 17|
|00002090| 20 69 6e 74 6f 20 66 72 | 6f 6d 46 69 65 6c 64 0d | into fr|omField.|
|000020a0| 70 75 74 20 35 30 20 69 | 6e 74 6f 20 74 72 75 6e |put 50 i|nto trun|
|000020b0| 63 46 69 65 6c 64 0d 72 | 65 70 65 61 74 0d 67 65 |cField.r|epeat.ge|
|000020c0| 74 20 6f 66 66 73 65 74 | 28 73 68 6f 72 74 20 6e |t offset|(short n|
|000020d0| 61 6d 65 20 6f 66 20 74 | 68 69 73 20 63 64 2c 66 |ame of t|his cd,f|
|000020e0| 6c 64 20 69 64 20 35 31 | 20 6f 66 20 63 64 20 31 |ld id 51| of cd 1|
|000020f0| 29 0d 69 66 20 69 74 20 | 3d 20 30 20 74 68 65 6e |).if it |= 0 then|
|00002100| 20 65 78 69 74 20 72 65 | 70 65 61 74 0d 70 75 74 | exit re|peat.put|
|00002110| 20 74 68 65 20 6e 75 6d | 62 65 72 20 6f 66 20 6c | the num|ber of l|
|00002120| 69 6e 65 73 20 69 6e 20 | 63 68 61 72 20 31 20 74 |ines in |char 1 t|
|00002130| 6f 20 69 74 20 6f 66 20 | 66 6c 64 20 69 64 20 35 |o it of |fld id 5|
|00002140| 31 20 6f 66 20 63 64 20 | 31 20 69 6e 74 6f 20 78 |1 of cd |1 into x|
|00002150| 0d 73 65 6e 64 20 22 63 | 6c 65 61 72 4c 69 6e 65 |.send "c|learLine|
|00002160| 22 20 26 26 20 78 20 74 | 6f 20 63 64 20 31 0d 65 |" && x t|o cd 1.e|
|00002170| 6e 64 20 72 65 70 65 61 | 74 0d 65 6e 64 20 69 66 |nd repea|t.end if|
|00002180| 0d 67 65 74 20 69 74 65 | 6d 46 69 6e 64 28 63 61 |.get ite|mFind(ca|
|00002190| 72 64 4e 61 6d 65 2c 66 | 6c 64 20 69 64 20 66 72 |rdName,f|ld id fr|
|000021a0| 6f 6d 46 69 65 6c 64 20 | 6f 66 20 63 64 20 31 2c |omField |of cd 1,|
|000021b0| 34 29 0d 69 66 20 69 74 | 20 ad 20 30 20 74 68 65 |4).if it| . 0 the|
|000021c0| 6e 0d 64 65 6c 65 74 65 | 20 6c 69 6e 65 20 69 74 |n.delete| line it|
|000021d0| 20 6f 66 20 66 6c 64 20 | 69 64 20 66 72 6f 6d 46 | of fld |id fromF|
|000021e0| 69 65 6c 64 20 6f 66 20 | 63 64 20 31 0d 64 65 6c |ield of |cd 1.del|
|000021f0| 65 74 65 20 6c 69 6e 65 | 20 69 74 20 6f 66 20 66 |ete line| it of f|
|00002200| 6c 64 20 69 64 20 74 72 | 75 6e 63 46 69 65 6c 64 |ld id tr|uncField|
|00002210| 20 6f 66 20 63 64 20 31 | 0d 65 6e 64 20 69 66 0d | of cd 1|.end if.|
|00002220| 67 6f 20 63 64 20 63 61 | 72 64 4e 61 6d 65 0d 73 |go cd ca|rdName.s|
|00002230| 65 74 20 74 68 65 20 75 | 73 65 72 4c 65 76 65 6c |et the u|serLevel|
|00002240| 20 74 6f 20 35 0d 73 65 | 74 20 6c 6f 63 6b 4d 65 | to 5.se|t lockMe|
|00002250| 73 73 61 67 65 73 20 74 | 6f 20 74 72 75 65 0d 64 |ssages t|o true.d|
|00002260| 6f 4d 65 6e 75 20 22 43 | 75 74 20 43 61 72 64 22 |oMenu "C|ut Card"|
|00002270| 0d 73 65 74 20 6c 6f 63 | 6b 4d 65 73 73 61 67 65 |.set loc|kMessage|
|00002280| 73 20 74 6f 20 66 61 6c | 73 65 0d 73 65 74 20 74 |s to fal|se.set t|
|00002290| 68 65 20 75 73 65 72 4c | 65 76 65 6c 20 74 6f 20 |he userL|evel to |
|000022a0| 33 0d 67 6f 20 63 64 20 | 31 20 6f 66 20 62 67 20 |3.go cd |1 of bg |
|000022b0| 69 64 20 63 75 72 42 47 | 0d 73 65 74 20 6c 6f 63 |id curBG|.set loc|
|000022c0| 6b 4d 65 73 73 61 67 65 | 73 20 74 6f 20 66 61 6c |kMessage|s to fal|
|000022d0| 73 65 0d 75 6e 6c 6f 63 | 6b 20 73 63 72 65 65 6e |se.unloc|k screen|
|000022e0| 0d 65 6e 64 20 64 65 6c | 43 61 72 64 0d 0d 6f 6e |.end del|Card..on|
|000022f0| 20 64 6f 4d 65 6e 75 20 | 78 0d 69 66 20 22 51 75 | doMenu |x.if "Qu|
|00002300| 69 74 22 20 69 73 20 69 | 6e 20 78 20 74 68 65 6e |it" is i|n x then|
|00002310| 0d 67 6c 6f 62 61 6c 20 | 74 6b 50 72 65 66 73 2c |.global |tkPrefs,|
|00002320| 74 69 6d 65 72 4f 6e 0d | 69 66 20 74 69 6d 65 72 |timerOn.|if timer|
|00002330| 4f 6e 20 3d 20 74 72 75 | 65 20 74 68 65 6e 0d 67 |On = tru|e then.g|
|00002340| 65 74 20 70 72 6f 6d 70 | 74 44 6c 6f 67 28 34 36 |et promp|tDlog(46|
|00002350| 39 35 2c 22 59 6f 75 d5 | 72 65 20 73 74 69 6c 6c |95,"You.|re still|
|00002360| 20 74 69 6d 69 6e 67 20 | 61 20 6a 6f 62 2e 20 22 | timing |a job. "|
|00002370| 26 20 c2 0d 22 41 72 65 | 20 79 6f 75 20 73 75 72 |& .."Are| you sur|
|00002380| 65 20 79 6f 75 20 77 61 | 6e 74 20 74 6f 20 65 78 |e you wa|nt to ex|
|00002390| 69 74 20 54 69 6d 65 43 | 61 63 68 65 3f 22 29 0d |it TimeC|ache?").|
|000023a0| 69 66 20 69 74 20 3d 20 | 34 20 6f 72 20 69 74 20 |if it = |4 or it |
|000023b0| 3d 20 32 20 74 68 65 6e | 20 65 78 69 74 20 74 6f |= 2 then| exit to|
|000023c0| 20 68 79 70 65 72 63 61 | 72 64 0d 65 6e 64 20 69 | hyperca|rd.end i|
|000023d0| 66 0d 70 75 74 20 6c 69 | 6e 65 20 32 32 20 6f 66 |f.put li|ne 22 of|
|000023e0| 20 74 6b 50 72 65 66 73 | 20 69 6e 74 6f 20 6e 61 | tkPrefs| into na|
|000023f0| 76 42 6f 6f 6c 0d 69 66 | 20 6e 61 76 42 6f 6f 6c |vBool.if| navBool|
|00002400| 20 3d 20 22 48 69 64 65 | 22 20 74 68 65 6e 20 68 | = "Hide|" then h|
|00002410| 69 64 65 54 4b 4e 61 76 | 0d 69 66 20 22 54 69 6d |ideTKNav|.if "Tim|
|00002420| 65 43 61 63 68 65 22 20 | 69 73 20 69 6e 20 78 20 |eCache" |is in x |
|00002430| 74 68 65 6e 20 64 6f 4d | 65 6e 75 20 22 51 75 69 |then doM|enu "Qui|
|00002440| 74 20 48 79 70 65 72 43 | 61 72 64 22 0d 70 75 74 |t HyperC|ard".put|
|00002450| 20 6e 61 76 42 6f 6f 6c | 20 69 6e 74 6f 20 6c 69 | navBool| into li|
|00002460| 6e 65 20 32 32 20 6f 66 | 20 74 6b 50 72 65 66 73 |ne 22 of| tkPrefs|
|00002470| 0d 65 6c 73 65 20 69 66 | 20 78 20 3d 20 22 44 61 |.else if| x = "Da|
|00002480| 69 6c 79 20 4c 6f 67 22 | 20 74 68 65 6e 0d 67 6f |ily Log"| then.go|
|00002490| 20 63 64 20 31 0d 65 78 | 69 74 20 64 6f 4d 65 6e | cd 1.ex|it doMen|
|000024a0| 75 0d 65 6c 73 65 20 69 | 66 20 78 20 3d 20 22 53 |u.else i|f x = "S|
|000024b0| 68 6f 77 20 4e 61 76 69 | 67 61 74 6f 72 22 20 74 |how Navi|gator" t|
|000024c0| 68 65 6e 0d 73 68 6f 77 | 54 4b 4e 61 76 0d 65 78 |hen.show|TKNav.ex|
|000024d0| 69 74 20 64 6f 4d 65 6e | 75 0d 65 6c 73 65 20 69 |it doMen|u.else i|
|000024e0| 66 20 78 20 3d 20 22 48 | 69 64 65 20 4e 61 76 69 |f x = "H|ide Navi|
|000024f0| 67 61 74 6f 72 22 20 74 | 68 65 6e 0d 68 69 64 65 |gator" t|hen.hide|
|00002500| 54 4b 4e 61 76 0d 65 78 | 69 74 20 64 6f 4d 65 6e |TKNav.ex|it doMen|
|00002510| 75 0d 65 6c 73 65 20 69 | 66 20 78 20 3d 20 22 4a |u.else i|f x = "J|
|00002520| 6f 62 20 53 68 65 65 74 | 73 22 20 74 68 65 6e 0d |ob Sheet|s" then.|
|00002530| 67 6f 20 62 67 20 69 64 | 20 35 34 34 39 0d 65 78 |go bg id| 5449.ex|
|00002540| 69 74 20 64 6f 4d 65 6e | 75 0d 65 6c 73 65 20 69 |it doMen|u.else i|
|00002550| 66 20 78 20 3d 20 22 41 | 72 63 68 69 76 65 22 20 |f x = "A|rchive" |
|00002560| 74 68 65 6e 0d 67 6f 20 | 62 67 20 69 64 20 34 37 |then.go |bg id 47|
|00002570| 31 37 0d 65 78 69 74 20 | 64 6f 4d 65 6e 75 0d 65 |17.exit |doMenu.e|
|00002580| 6c 73 65 20 69 66 20 78 | 20 3d 20 22 54 69 6d 65 |lse if x| = "Time|
|00002590| 73 68 65 65 74 73 22 20 | 74 68 65 6e 0d 67 6f 20 |sheets" |then.go |
|000025a0| 6c 61 73 74 20 63 64 0d | 65 78 69 74 20 64 6f 4d |last cd.|exit doM|
|000025b0| 65 6e 75 0d 65 6c 73 65 | 20 69 66 20 78 20 3d 20 |enu.else| if x = |
|000025c0| 22 54 69 6d 65 43 61 63 | 68 65 20 48 65 6c 70 22 |"TimeCac|he Help"|
|000025d0| 20 74 68 65 6e 20 68 65 | 6c 70 4d 65 0d 65 6c 73 | then he|lpMe.els|
|000025e0| 65 20 69 66 20 78 20 3d | 20 22 48 69 64 65 20 54 |e if x =| "Hide T|
|000025f0| 69 6d 65 43 61 63 68 65 | 22 20 74 68 65 6e 20 68 |imeCache|" then h|
|00002600| 69 64 65 54 4b 0d 65 6c | 73 65 20 69 66 20 78 20 |ideTK.el|se if x |
|00002610| 3d 20 22 53 75 6d 6d 61 | 72 79 20 52 65 70 6f 72 |= "Summa|ry Repor|
|00002620| 74 22 20 74 68 65 6e 0d | 62 75 69 6c 64 53 75 6d |t" then.|buildSum|
|00002630| 52 65 70 6f 72 74 0d 65 | 78 69 74 20 64 6f 4d 65 |Report.e|xit doMe|
|00002640| 6e 75 0d 65 6c 73 65 20 | 69 66 20 78 20 3d 20 22 |nu.else |if x = "|
|00002650| 44 65 6c 65 74 65 20 50 | 72 6f 6a 65 63 74 22 20 |Delete P|roject" |
|00002660| 74 68 65 6e 0d 64 65 6c | 43 61 72 64 0d 65 78 69 |then.del|Card.exi|
|00002670| 74 20 64 6f 4d 65 6e 75 | 0d 65 6c 73 65 20 69 66 |t doMenu|.else if|
|00002680| 20 78 20 3d 20 22 46 69 | 6e 64 2e 2e 2e 22 20 74 | x = "Fi|nd..." t|
|00002690| 68 65 6e 0d 64 6f 46 69 | 72 73 74 46 69 6e 64 0d |hen.doFi|rstFind.|
|000026a0| 65 78 69 74 20 64 6f 4d | 65 6e 75 0d 65 6c 73 65 |exit doM|enu.else|
|000026b0| 20 69 66 20 78 20 3d 20 | 22 46 69 6e 64 20 41 67 | if x = |"Find Ag|
|000026c0| 61 69 6e 22 20 74 68 65 | 6e 0d 66 69 6e 64 41 67 |ain" the|n.findAg|
|000026d0| 61 69 6e 0d 65 78 69 74 | 20 64 6f 4d 65 6e 75 0d |ain.exit| doMenu.|
|000026e0| 65 6c 73 65 20 69 66 20 | 78 20 3d 20 22 54 72 61 |else if |x = "Tra|
|000026f0| 6e 73 66 65 72 20 57 61 | 72 6e 69 6e 67 73 22 20 |nsfer Wa|rnings" |
|00002700| 74 68 65 6e 0d 73 65 74 | 57 61 72 6e 69 6e 67 73 |then.set|Warnings|
|00002710| 0d 65 78 69 74 20 64 6f | 4d 65 6e 75 0d 65 6c 73 |.exit do|Menu.els|
|00002720| 65 20 69 66 20 78 20 3d | 20 22 41 75 74 6f 20 54 |e if x =| "Auto T|
|00002730| 69 6d 65 73 68 65 65 74 | 73 22 20 74 68 65 6e 0d |imesheet|s" then.|
|00002740| 73 65 74 41 75 74 6f 0d | 65 78 69 74 20 64 6f 4d |setAuto.|exit doM|
|00002750| 65 6e 75 0d 65 6c 73 65 | 20 69 66 20 78 20 3d 20 |enu.else| if x = |
|00002760| 22 43 75 73 74 6f 6d 20 | 4a 6f 62 20 46 69 65 6c |"Custom |Job Fiel|
|00002770| 64 22 20 74 68 65 6e 0d | 73 70 65 63 46 6c 64 53 |d" then.|specFldS|
|00002780| 65 74 75 70 0d 65 78 69 | 74 20 64 6f 4d 65 6e 75 |etup.exi|t doMenu|
|00002790| 0d 65 6c 73 65 20 69 66 | 20 78 20 3d 20 22 4a 6f |.else if| x = "Jo|
|000027a0| 62 20 4e 75 6d 62 65 72 | 73 22 20 74 68 65 6e 0d |b Number|s" then.|
|000027b0| 73 65 74 4a 6f 62 4e 75 | 6d 0d 65 78 69 74 20 64 |setJobNu|m.exit d|
|000027c0| 6f 4d 65 6e 75 0d 65 6c | 73 65 20 69 66 20 78 20 |oMenu.el|se if x |
|000027d0| 3d 20 22 48 6f 75 72 20 | 44 69 76 69 73 69 6f 6e |= "Hour |Division|
|000027e0| 73 22 20 74 68 65 6e 0d | 63 68 61 6e 67 65 54 69 |s" then.|changeTi|
|000027f0| 6d 65 0d 65 78 69 74 20 | 64 6f 4d 65 6e 75 0d 65 |me.exit |doMenu.e|
|00002800| 6c 73 65 20 69 66 20 78 | 20 3d 20 22 43 75 72 72 |lse if x| = "Curr|
|00002810| 65 6e 63 79 20 53 79 6d | 62 6f 6c 22 20 74 68 65 |ency Sym|bol" the|
|00002820| 6e 0d 73 65 74 43 75 72 | 72 0d 65 78 69 74 20 64 |n.setCur|r.exit d|
|00002830| 6f 4d 65 6e 75 0d 65 6c | 73 65 20 69 66 20 78 20 |oMenu.el|se if x |
|00002840| 3d 20 22 52 65 70 6f 72 | 74 20 50 72 69 6e 74 69 |= "Repor|t Printi|
|00002850| 6e 67 20 46 6f 6e 74 22 | 20 74 68 65 6e 0d 73 65 |ng Font"| then.se|
|00002860| 74 50 72 69 6e 74 46 6f | 6e 74 0d 65 78 69 74 20 |tPrintFo|nt.exit |
|00002870| 64 6f 4d 65 6e 75 0d 65 | 6c 73 65 20 69 66 20 78 |doMenu.e|lse if x|
|00002880| 20 3d 20 22 4a 6f 62 20 | 45 78 70 6f 72 74 20 46 | = "Job |Export F|
|00002890| 6f 72 6d 61 74 22 20 74 | 68 65 6e 0d 65 78 70 6f |ormat" t|hen.expo|
|000028a0| 72 74 46 6f 72 6d 61 74 | 0d 65 78 69 74 20 64 6f |rtFormat|.exit do|
|000028b0| 4d 65 6e 75 0d 65 6c 73 | 65 20 69 66 20 78 20 3d |Menu.els|e if x =|
|000028c0| 20 22 53 6b 69 70 20 57 | 65 65 6b 65 6e 64 73 22 | "Skip W|eekends"|
|000028d0| 20 74 68 65 6e 0d 73 65 | 74 57 6b 6e 64 73 0d 65 | then.se|tWknds.e|
|000028e0| 78 69 74 20 64 6f 4d 65 | 6e 75 0d 65 6c 73 65 20 |xit doMe|nu.else |
|000028f0| 69 66 20 78 20 3d 20 22 | 50 72 69 6e 74 69 6e 67 |if x = "|Printing|
|00002900| 20 46 6f 6e 74 22 20 74 | 68 65 6e 0d 73 65 74 50 | Font" t|hen.setP|
|00002910| 72 69 6e 74 46 6f 6e 74 | 0d 65 78 69 74 20 64 6f |rintFont|.exit do|
|00002920| 4d 65 6e 75 0d 65 6c 73 | 65 20 69 66 20 78 20 3d |Menu.els|e if x =|
|00002930| 20 22 4c 6f 6e 67 20 43 | 6f 6d 6d 65 6e 74 73 22 | "Long C|omments"|
|00002940| 20 74 68 65 6e 0d 73 65 | 74 43 6f 6d 6d 65 6e 74 | then.se|tComment|
|00002950| 73 0d 65 78 69 74 20 64 | 6f 4d 65 6e 75 0d 65 6c |s.exit d|oMenu.el|
|00002960| 73 65 20 69 66 20 78 20 | 3d 20 22 50 72 6f 74 65 |se if x |= "Prote|
|00002970| 63 74 20 53 74 61 63 6b | 2e 2e 2e 22 20 74 68 65 |ct Stack|..." the|
|00002980| 6e 0d 69 66 20 6d 73 67 | 20 ad 20 22 50 61 73 73 |n.if msg| . "Pass|
|00002990| 77 6f 72 64 22 20 74 68 | 65 6e 0d 65 78 69 74 20 |word" th|en.exit |
|000029a0| 64 6f 6d 65 6e 75 0d 65 | 6e 64 20 69 66 0d 65 6c |domenu.e|nd if.el|
|000029b0| 73 65 20 69 66 20 78 20 | 3d 20 22 50 61 67 65 20 |se if x |= "Page |
|000029c0| 53 65 74 75 70 2e 2e 2e | 22 20 74 68 65 6e 0d 70 |Setup...|" then.p|
|000029d0| 75 74 20 66 6c 64 20 69 | 64 20 37 35 20 6f 66 20 |ut fld i|d 75 of |
|000029e0| 63 64 20 31 20 69 6e 74 | 6f 20 70 53 65 74 75 70 |cd 1 int|o pSetup|
|000029f0| 0d 67 65 74 20 50 52 50 | 61 67 65 53 65 74 55 70 |.get PRP|ageSetUp|
|00002a00| 28 70 53 65 74 75 70 2c | 66 61 6c 73 65 29 0d 69 |(pSetup,|false).i|
|00002a10| 66 20 66 69 72 73 74 20 | 77 6f 72 64 20 6f 66 20 |f first |word of |
|00002a20| 69 74 20 3d 20 22 45 52 | 52 4f 52 3a 22 20 74 68 |it = "ER|ROR:" th|
|00002a30| 65 6e 0d 62 65 65 70 0d | 73 64 41 6c 65 72 74 20 |en.beep.|sdAlert |
|00002a40| 69 74 0d 65 78 69 74 20 | 64 6f 4d 65 6e 75 0d 65 |it.exit |doMenu.e|
|00002a50| 6c 73 65 20 69 66 20 69 | 74 ad 22 63 61 6e 63 65 |lse if i|t."cance|
|00002a60| 6c 22 20 74 68 65 6e 0d | 70 75 74 20 69 74 20 69 |l" then.|put it i|
|00002a70| 6e 74 6f 20 66 6c 64 20 | 69 64 20 37 35 20 6f 66 |nto fld |id 75 of|
|00002a80| 20 63 64 20 31 0d 65 6e | 64 20 69 66 0d 65 78 69 | cd 1.en|d if.exi|
|00002a90| 74 20 64 6f 4d 65 6e 75 | 0d 65 6c 73 65 20 69 66 |t doMenu|.else if|
|00002aa0| 20 22 41 62 6f 75 74 22 | 20 69 73 20 69 6e 20 78 | "About"| is in x|
|00002ab0| 20 74 68 65 6e 0d 69 66 | 20 74 68 65 20 76 69 73 | then.if| the vis|
|00002ac0| 69 62 6c 65 20 6f 66 20 | 66 6c 64 20 69 64 20 35 |ible of |fld id 5|
|00002ad0| 37 20 6f 66 20 63 64 20 | 31 20 3d 20 74 72 75 65 |7 of cd |1 = true|
|00002ae0| 20 74 68 65 6e 20 65 78 | 69 74 20 64 6f 4d 65 6e | then ex|it doMen|
|00002af0| 75 0d 69 66 20 74 68 65 | 20 76 69 73 69 62 6c 65 |u.if the| visible|
|00002b00| 20 6f 66 20 63 64 20 77 | 69 6e 64 6f 77 20 3d 20 | of cd w|indow = |
|00002b10| 66 61 6c 73 65 20 74 68 | 65 6e 20 65 78 69 74 20 |false th|en exit |
|00002b20| 64 6f 4d 65 6e 75 0d 61 | 62 6f 75 74 4d 65 0d 65 |doMenu.a|boutMe.e|
|00002b30| 78 69 74 20 64 6f 4d 65 | 6e 75 0d 65 6e 64 20 69 |xit doMe|nu.end i|
|00002b40| 66 0d 70 61 73 73 20 64 | 6f 4d 65 6e 75 0d 65 6e |f.pass d|oMenu.en|
|00002b50| 64 20 64 6f 4d 65 6e 75 | 0d 0d 6f 6e 20 66 69 6e |d doMenu|..on fin|
|00002b60| 64 54 69 6d 65 52 65 70 | 6f 72 74 0d 67 6c 6f 62 |dTimeRep|ort.glob|
|00002b70| 61 6c 20 74 6b 50 72 65 | 66 73 0d 61 6e 73 77 65 |al tkPre|fs.answe|
|00002b80| 72 20 66 69 6c 65 20 22 | 57 68 65 72 65 20 69 73 |r file "|Where is|
|00002b90| 20 74 68 65 20 d2 54 69 | 6d 65 20 52 65 70 6f 72 | the .Ti|me Repor|
|00002ba0| 74 d3 20 66 69 6c 65 3f | 22 0d 69 66 20 69 74 20 |t. file?|".if it |
|00002bb0| 3d 20 22 22 20 74 68 65 | 6e 20 65 78 69 74 20 74 |= "" the|n exit t|
|00002bc0| 6f 20 68 79 70 65 72 63 | 61 72 64 0d 69 66 20 22 |o hyperc|ard.if "|
|00002bd0| 54 69 6d 65 20 52 65 70 | 6f 72 74 22 20 69 73 20 |Time Rep|ort" is |
|00002be0| 6e 6f 74 20 69 6e 20 69 | 74 20 74 68 65 6e 0d 67 |not in i|t then.g|
|00002bf0| 65 74 20 70 72 6f 6d 70 | 74 44 6c 6f 67 28 34 30 |et promp|tDlog(40|
|00002c00| 35 30 2c 22 41 72 65 20 | 79 6f 75 20 73 75 72 65 |50,"Are |you sure|
|00002c10| 20 74 68 69 73 20 69 73 | 20 61 20 d2 54 69 6d 65 | this is| a .Time|
|00002c20| 20 52 65 70 6f 72 74 d3 | 20 66 69 6c 65 3f 22 29 | Report.| file?")|
|00002c30| 0d 69 66 20 69 74 20 3d | 20 31 20 6f 72 20 69 74 |.if it =| 1 or it|
|00002c40| 20 3d 20 32 20 74 68 65 | 6e 20 65 78 69 74 20 74 | = 2 the|n exit t|
|00002c50| 6f 20 68 79 70 65 72 63 | 61 72 64 0d 65 6e 64 20 |o hyperc|ard.end |
|00002c60| 69 66 0d 70 75 74 20 69 | 74 20 69 6e 74 6f 20 6c |if.put i|t into l|
|00002c70| 69 6e 65 20 31 35 20 6f | 66 20 74 6b 50 72 65 66 |ine 15 o|f tkPref|
|00002c80| 73 0d 70 72 65 66 53 65 | 74 0d 65 6e 64 20 66 69 |s.prefSe|t.end fi|
|00002c90| 6e 64 54 69 6d 65 52 65 | 70 6f 72 74 0d 0d 66 75 |ndTimeRe|port..fu|
|00002ca0| 6e 63 74 69 6f 6e 20 63 | 6f 6e 76 65 72 74 44 61 |nction c|onvertDa|
|00002cb0| 74 65 20 69 6e 44 61 74 | 65 0d 63 6f 6e 76 65 72 |te inDat|e.conver|
|00002cc0| 74 20 69 6e 44 61 74 65 | 20 74 6f 20 73 65 63 6f |t inDate| to seco|
|00002cd0| 6e 64 73 0d 72 65 74 75 | 72 6e 20 69 6e 44 61 74 |nds.retu|rn inDat|
|00002ce0| 65 0d 65 6e 64 20 63 6f | 6e 76 65 72 74 44 61 74 |e.end co|nvertDat|
|00002cf0| 65 0d 0d 6f 6e 20 73 73 | 52 70 74 0d 67 6c 6f 62 |e..on ss|Rpt.glob|
|00002d00| 61 6c 20 74 6f 64 61 79 | 2c 70 2c 74 65 78 74 2c |al today|,p,text,|
|00002d10| 72 4e 61 6d 65 2c 6c 6e | 73 0d 69 66 20 66 6c 64 |rName,ln|s.if fld|
|00002d20| 20 69 64 20 32 20 3d 20 | 22 22 20 74 68 65 6e 20 | id 2 = |"" then |
|00002d30| 65 78 69 74 20 73 73 52 | 70 74 0d 70 75 74 20 66 |exit ssR|pt.put f|
|00002d40| 6c 64 20 69 64 20 34 34 | 20 26 20 22 2f 22 20 26 |ld id 44| & "/" &|
|00002d50| 20 66 6c 64 20 69 64 20 | 39 20 26 20 22 20 45 78 | fld id |9 & " Ex|
|00002d60| 70 6f 72 74 22 20 69 6e | 74 6f 20 72 4e 61 6d 65 |port" in|to rName|
|00002d70| 0d 70 75 74 20 74 68 65 | 20 64 61 74 65 20 69 6e |.put the| date in|
|00002d80| 74 6f 20 74 6f 64 61 79 | 0d 70 75 74 20 6e 75 6d |to today|.put num|
|00002d90| 62 65 72 20 6f 66 20 6c | 69 6e 65 73 20 69 6e 20 |ber of l|ines in |
|00002da0| 66 6c 64 20 69 64 20 35 | 20 69 6e 74 6f 20 6c 6e |fld id 5| into ln|
|00002db0| 73 0d 67 65 74 20 67 65 | 74 52 44 61 74 65 73 28 |s.get ge|tRDates(|
|00002dc0| 22 45 78 70 6f 72 74 22 | 29 0d 69 66 20 6c 69 6e |"Export"|).if lin|
|00002dd0| 65 20 31 20 6f 66 20 69 | 74 20 3d 20 22 22 20 6f |e 1 of i|t = "" o|
|00002de0| 72 20 6c 69 6e 65 20 32 | 20 6f 66 20 69 74 20 3d |r line 2| of it =|
|00002df0| 20 22 22 20 74 68 65 6e | 0d 62 61 64 44 61 74 65 | "" then|.badDate|
|00002e00| 73 57 61 72 6e 0d 65 78 | 69 74 20 73 73 52 70 74 |sWarn.ex|it ssRpt|
|00002e10| 0d 65 6e 64 20 69 66 0d | 69 66 20 69 74 20 3d 20 |.end if.|if it = |
|00002e20| 22 43 61 6e 63 65 6c 22 | 20 74 68 65 6e 20 65 78 |"Cancel"| then ex|
|00002e30| 69 74 20 73 73 52 70 74 | 0d 58 4c 52 65 70 6f 72 |it ssRpt|.XLRepor|
|00002e40| 74 20 6c 69 6e 65 20 31 | 20 6f 66 20 69 74 2c 6c |t line 1| of it,l|
|00002e50| 69 6e 65 20 32 20 6f 66 | 20 69 74 0d 65 6e 64 20 |ine 2 of| it.end |
|00002e60| 73 73 52 70 74 0d 0d 6f | 6e 20 66 6c 6d 52 70 74 |ssRpt..o|n flmRpt|
|00002e70| 0d 67 6c 6f 62 61 6c 20 | 74 6f 64 61 79 2c 70 2c |.global |today,p,|
|00002e80| 6c 6e 73 2c 74 65 78 74 | 2c 72 4e 61 6d 65 2c 66 |lns,text|,rName,f|
|00002e90| 6d 44 61 74 65 73 0d 69 | 66 20 66 6c 64 20 69 64 |mDates.i|f fld id|
|00002ea0| 20 32 20 3d 20 22 22 20 | 74 68 65 6e 20 65 78 69 | 2 = "" |then exi|
|00002eb0| 74 20 66 6c 6d 52 70 74 | 0d 70 75 74 20 66 6c 64 |t flmRpt|.put fld|
|00002ec0| 20 69 64 20 34 34 20 26 | 20 22 2f 22 20 26 20 66 | id 44 &| "/" & f|
|00002ed0| 6c 64 20 69 64 20 39 20 | 26 20 22 20 45 78 70 6f |ld id 9 |& " Expo|
|00002ee0| 72 74 22 20 69 6e 74 6f | 20 72 4e 61 6d 65 0d 67 |rt" into| rName.g|
|00002ef0| 65 74 20 67 65 74 52 44 | 61 74 65 73 28 22 45 78 |et getRD|ates("Ex|
|00002f00| 70 6f 72 74 22 29 0d 69 | 66 20 69 74 20 3d 20 22 |port").i|f it = "|
|00002f10| 43 61 6e 63 65 6c 22 20 | 74 68 65 6e 20 65 78 69 |Cancel" |then exi|
|00002f20| 74 20 74 6f 20 68 79 70 | 65 72 63 61 72 64 0d 69 |t to hyp|ercard.i|
|00002f30| 66 20 6c 69 6e 65 20 31 | 20 6f 66 20 69 74 20 3d |f line 1| of it =|
|00002f40| 20 22 22 20 6f 72 20 6c | 69 6e 65 20 32 20 6f 66 | "" or l|ine 2 of|
|00002f50| 20 69 74 20 3d 20 22 22 | 20 74 68 65 6e 0d 62 61 | it = ""| then.ba|
|00002f60| 64 44 61 74 65 73 57 61 | 72 6e 0d 65 78 69 74 20 |dDatesWa|rn.exit |
|00002f70| 66 6c 6d 52 70 74 0d 65 | 6e 64 20 69 66 0d 70 75 |flmRpt.e|nd if.pu|
|00002f80| 74 20 66 44 61 74 65 73 | 28 66 6c 64 20 69 64 20 |t fDates|(fld id |
|00002f90| 32 2c 6c 69 6e 65 20 31 | 20 6f 66 20 69 74 2c 6c |2,line 1| of it,l|
|00002fa0| 69 6e 65 20 32 20 6f 66 | 20 69 74 29 20 69 6e 74 |ine 2 of| it) int|
|00002fb0| 6f 20 66 6d 44 61 74 65 | 73 0d 70 75 74 20 6e 75 |o fmDate|s.put nu|
|00002fc0| 6d 62 65 72 20 6f 66 20 | 6c 69 6e 65 73 20 69 6e |mber of |lines in|
|00002fd0| 20 66 6d 44 61 74 65 73 | 20 69 6e 74 6f 20 6c 6e | fmDates| into ln|
|00002fe0| 73 0d 69 66 20 6c 6e 73 | 20 3e 20 33 36 20 74 68 |s.if lns| > 36 th|
|00002ff0| 65 6e 20 66 61 74 52 65 | 70 6f 72 74 0d 70 75 74 |en fatRe|port.put|
|00003000| 20 74 68 65 20 64 61 74 | 65 20 69 6e 74 6f 20 74 | the dat|e into t|
|00003010| 6f 64 61 79 0d 70 75 74 | 20 74 68 65 20 6e 75 6d |oday.put| the num|
|00003020| 54 6f 43 68 61 72 20 6f | 66 20 32 39 20 69 6e 74 |ToChar o|f 29 int|
|00003030| 6f 20 70 0d 46 4d 52 65 | 70 6f 72 74 20 6c 69 6e |o p.FMRe|port lin|
|00003040| 65 20 31 20 6f 66 20 69 | 74 2c 6c 69 6e 65 20 32 |e 1 of i|t,line 2|
|00003050| 20 6f 66 20 69 74 0d 65 | 6e 64 20 66 6c 6d 52 70 | of it.e|nd flmRp|
|00003060| 74 0d 0d 6f 6e 20 66 61 | 74 52 65 70 6f 72 74 0d |t..on fa|tReport.|
|00003070| 67 6c 6f 62 61 6c 20 6c | 6e 73 0d 70 75 74 20 22 |global l|ns.put "|
|00003080| 59 6f 75 20 68 61 76 65 | 22 20 26 26 20 6c 6e 73 |You have|" && lns|
|00003090| 20 26 26 20 22 6c 69 6e | 65 73 2e 20 27 54 69 6d | && "lin|es. 'Tim|
|000030a0| 65 20 52 65 70 6f 72 74 | 27 20 68 6f 6c 64 73 20 |e Report|' holds |
|000030b0| 33 36 2e 20 44 6f 20 79 | 6f 75 20 73 74 69 6c 6c |36. Do y|ou still|
|000030c0| 20 77 61 6e 74 20 61 20 | 72 65 70 6f 72 74 3f 22 | want a |report?"|
|000030d0| 20 69 6e 74 6f 20 70 72 | 6f 6d 70 74 0d 67 65 74 | into pr|ompt.get|
|000030e0| 20 70 72 6f 6d 70 74 44 | 4c 6f 67 28 34 36 39 35 | promptD|Log(4695|
|000030f0| 2c 70 72 6f 6d 70 74 29 | 0d 69 66 20 69 74 20 3d |,prompt)|.if it =|
|00003100| 20 34 20 6f 72 20 69 74 | 20 3d 20 32 20 74 68 65 | 4 or it| = 2 the|
|00003110| 6e 0d 65 78 69 74 20 74 | 6f 20 68 79 70 65 72 63 |n.exit t|o hyperc|
|00003120| 61 72 64 0d 65 6e 64 20 | 69 66 0d 65 6e 64 20 66 |ard.end |if.end f|
|00003130| 61 74 52 65 70 6f 72 74 | 0d 0d 6f 6e 20 73 65 74 |atReport|..on set|
|00003140| 4a 6f 62 4e 75 6d 0d 67 | 6c 6f 62 61 6c 20 74 6b |JobNum.g|lobal tk|
|00003150| 50 72 65 66 73 0d 69 66 | 20 6c 69 6e 65 20 35 20 |Prefs.if| line 5 |
|00003160| 6f 66 20 74 6b 50 72 65 | 66 73 20 3d 20 22 41 75 |of tkPre|fs = "Au|
|00003170| 74 6f 6d 61 74 69 63 22 | 20 6f 72 20 6c 69 6e 65 |tomatic"| or line|
|00003180| 20 35 20 6f 66 20 74 6b | 50 72 65 66 73 20 3d 20 | 5 of tk|Prefs = |
|00003190| 22 22 20 74 68 65 6e 20 | 70 75 74 20 36 20 69 6e |"" then |put 6 in|
|000031a0| 74 6f 20 72 0d 65 6c 73 | 65 20 70 75 74 20 37 20 |to r.els|e put 7 |
|000031b0| 69 6e 74 6f 20 72 0d 69 | 66 20 72 20 3d 20 36 20 |into r.i|f r = 6 |
|000031c0| 74 68 65 6e 0d 69 66 20 | 66 6c 64 20 69 64 20 39 |then.if |fld id 9|
|000031d0| 20 6f 66 20 63 64 20 31 | 20 3d 20 22 22 20 74 68 | of cd 1| = "" th|
|000031e0| 65 6e 20 70 75 74 20 22 | 31 30 30 31 22 20 69 6e |en put "|1001" in|
|000031f0| 74 6f 20 6e 0d 65 6c 73 | 65 20 70 75 74 20 66 6c |to n.els|e put fl|
|00003200| 64 20 69 64 20 39 20 69 | 6e 74 6f 20 6e 0d 65 6c |d id 9 i|nto n.el|
|00003210| 73 65 20 70 75 74 20 22 | 22 20 69 6e 74 6f 20 6e |se put "|" into n|
|00003220| 0d 73 68 6f 77 44 69 61 | 6c 6f 67 20 33 2c 34 37 |.showDia|log 3,47|
|00003230| 34 35 2c 22 22 2c 22 22 | 2c 6e 2c 72 0d 67 65 74 |45,"",""|,n,r.get|
|00003240| 20 74 68 65 20 72 65 73 | 75 6c 74 0d 69 66 20 69 | the res|ult.if i|
|00003250| 74 20 3d 20 22 22 20 74 | 68 65 6e 20 65 78 69 74 |t = "" t|hen exit|
|00003260| 20 73 65 74 4a 6f 62 4e | 75 6d 0d 69 66 20 6c 69 | setJobN|um.if li|
|00003270| 6e 65 20 31 20 6f 66 20 | 69 74 20 3d 20 37 20 74 |ne 1 of |it = 7 t|
|00003280| 68 65 6e 20 70 75 74 20 | 22 4d 61 6e 75 61 6c 22 |hen put |"Manual"|
|00003290| 20 69 6e 74 6f 20 6c 69 | 6e 65 20 35 20 6f 66 20 | into li|ne 5 of |
|000032a0| 74 6b 50 72 65 66 73 0d | 65 6c 73 65 0d 70 75 74 |tkPrefs.|else.put|
|000032b0| 20 22 41 75 74 6f 6d 61 | 74 69 63 22 20 69 6e 74 | "Automa|tic" int|
|000032c0| 6f 20 6c 69 6e 65 20 35 | 20 6f 66 20 74 6b 50 72 |o line 5| of tkPr|
|000032d0| 65 66 73 0d 70 75 74 20 | 6c 69 6e 65 20 32 20 6f |efs.put |line 2 o|
|000032e0| 66 20 69 74 20 69 6e 74 | 6f 20 6e 0d 70 75 74 20 |f it int|o n.put |
|000032f0| 63 68 65 63 6b 4e 75 6d | 62 65 72 28 6e 29 20 69 |checkNum|ber(n) i|
|00003300| 6e 74 6f 20 6e 0d 69 66 | 20 6e 20 3d 20 72 65 64 |nto n.if| n = red|
|00003310| 6f 20 74 68 65 6e 0d 73 | 65 74 4a 6f 62 4e 75 6d |o then.s|etJobNum|
|00003320| 0d 65 78 69 74 20 73 65 | 74 4a 6f 62 4e 75 6d 0d |.exit se|tJobNum.|
|00003330| 65 6e 64 20 69 66 0d 70 | 75 74 20 72 6f 75 6e 64 |end if.p|ut round|
|00003340| 28 6e 29 20 69 6e 74 6f | 20 66 6c 64 20 69 64 20 |(n) into| fld id |
|00003350| 39 20 6f 66 20 63 64 20 | 31 0d 70 72 65 66 53 65 |9 of cd |1.prefSe|
|00003360| 74 0d 65 6e 64 20 69 66 | 0d 65 6e 64 20 73 65 74 |t.end if|.end set|
|00003370| 4a 6f 62 4e 75 6d 0d 0d | 6f 6e 20 63 68 61 6e 67 |JobNum..|on chang|
|00003380| 65 54 69 6d 65 0d 67 6c | 6f 62 61 6c 20 74 6b 50 |eTime.gl|obal tkP|
|00003390| 72 65 66 73 0d 69 66 20 | 6c 69 6e 65 20 36 20 6f |refs.if |line 6 o|
|000033a0| 66 20 74 6b 50 72 65 66 | 73 20 3d 20 31 30 20 74 |f tkPref|s = 10 t|
|000033b0| 68 65 6e 20 70 75 74 20 | 34 20 69 6e 74 6f 20 61 |hen put |4 into a|
|000033c0| 0d 65 6c 73 65 20 70 75 | 74 20 33 20 69 6e 74 6f |.else pu|t 3 into|
|000033d0| 20 61 0d 73 68 6f 77 44 | 69 61 6c 6f 67 20 33 2c | a.showD|ialog 3,|
|000033e0| 32 39 39 35 38 2c 22 22 | 2c 22 22 2c 22 22 2c 61 |29958,""|,"","",a|
|000033f0| 0d 67 65 74 20 74 68 65 | 20 72 65 73 75 6c 74 0d |.get the| result.|
|00003400| 69 66 20 69 74 20 3d 20 | 22 22 20 74 68 65 6e 20 |if it = |"" then |
|00003410| 65 78 69 74 20 63 68 61 | 6e 67 65 54 69 6d 65 0d |exit cha|ngeTime.|
|00003420| 69 66 20 6c 69 6e 65 20 | 31 20 6f 66 20 69 74 20 |if line |1 of it |
|00003430| 3d 20 33 20 74 68 65 6e | 20 70 75 74 20 34 20 69 |= 3 then| put 4 i|
|00003440| 6e 74 6f 20 6c 69 6e 65 | 20 36 20 6f 66 20 74 6b |nto line| 6 of tk|
|00003450| 50 72 65 66 73 0d 65 6c | 73 65 20 70 75 74 20 31 |Prefs.el|se put 1|
|00003460| 30 20 69 6e 74 6f 20 6c | 69 6e 65 20 36 20 6f 66 |0 into l|ine 6 of|
|00003470| 20 74 6b 50 72 65 66 73 | 0d 70 72 65 66 53 65 74 | tkPrefs|.prefSet|
|00003480| 0d 65 6e 64 20 63 68 61 | 6e 67 65 54 69 6d 65 0d |.end cha|ngeTime.|
|00003490| 0d 6f 6e 20 73 65 74 57 | 61 72 6e 69 6e 67 73 0d |.on setW|arnings.|
|000034a0| 67 6c 6f 62 61 6c 20 74 | 6b 50 72 65 66 73 0d 69 |global t|kPrefs.i|
|000034b0| 66 20 6c 69 6e 65 20 37 | 20 6f 66 20 74 6b 50 72 |f line 7| of tkPr|
|000034c0| 65 66 73 20 3d 20 22 54 | 72 75 65 22 20 74 68 65 |efs = "T|rue" the|
|000034d0| 6e 20 70 75 74 20 34 20 | 69 6e 74 6f 20 72 0d 65 |n put 4 |into r.e|
|000034e0| 6c 73 65 20 70 75 74 20 | 35 20 69 6e 74 6f 20 72 |lse put |5 into r|
|000034f0| 0d 69 66 20 72 20 3d 20 | 34 20 74 68 65 6e 20 70 |.if r = |4 then p|
|00003500| 75 74 20 6c 69 6e 65 20 | 38 20 6f 66 20 74 6b 50 |ut line |8 of tkP|
|00003510| 72 65 66 73 20 69 6e 74 | 6f 20 6d 69 6e 0d 65 6c |refs int|o min.el|
|00003520| 73 65 20 70 75 74 20 22 | 22 20 69 6e 74 6f 20 6d |se put "|" into m|
|00003530| 69 6e 0d 73 68 6f 77 44 | 69 61 6c 6f 67 20 33 2c |in.showD|ialog 3,|
|00003540| 31 32 39 30 2c 22 57 61 | 72 6e 20 6d 65 20 69 66 |1290,"Wa|rn me if|
|00003550| 20 49 20 68 61 76 65 20 | 6c 65 73 73 20 74 68 61 | I have |less tha|
|00003560| 6e 3a 22 2c 22 68 6f 75 | 72 73 2e 22 2c 6d 69 6e |n:","hou|rs.",min|
|00003570| 2c 72 0d 67 65 74 20 74 | 68 65 20 72 65 73 75 6c |,r.get t|he resul|
|00003580| 74 0d 69 66 20 69 74 20 | 3d 20 22 22 20 74 68 65 |t.if it |= "" the|
|00003590| 6e 20 65 78 69 74 20 73 | 65 74 57 61 72 6e 69 6e |n exit s|etWarnin|
|000035a0| 67 73 0d 69 66 20 6c 69 | 6e 65 20 31 20 6f 66 20 |gs.if li|ne 1 of |
|000035b0| 69 74 20 ad 20 34 20 6f | 72 20 6c 69 6e 65 20 32 |it . 4 o|r line 2|
|000035c0| 20 6f 66 20 69 74 20 3d | 20 22 22 20 74 68 65 6e | of it =| "" then|
|000035d0| 20 70 75 74 20 22 66 61 | 6c 73 65 22 20 69 6e 74 | put "fa|lse" int|
|000035e0| 6f 20 6c 69 6e 65 20 37 | 20 6f 66 20 74 6b 50 72 |o line 7| of tkPr|
|000035f0| 65 66 73 0d 65 6c 73 65 | 0d 70 75 74 20 6c 69 6e |efs.else|.put lin|
|00003600| 65 20 32 20 6f 66 20 69 | 74 20 69 6e 74 6f 20 6e |e 2 of i|t into n|
|00003610| 0d 70 75 74 20 63 68 65 | 63 6b 4e 75 6d 62 65 72 |.put che|ckNumber|
|00003620| 28 6e 29 20 69 6e 74 6f | 20 6e 0d 69 66 20 6e 20 |(n) into| n.if n |
|00003630| 3d 20 72 65 64 6f 20 74 | 68 65 6e 0d 73 65 74 57 |= redo t|hen.setW|
|00003640| 61 72 6e 69 6e 67 73 0d | 65 78 69 74 20 73 65 74 |arnings.|exit set|
|00003650| 57 61 72 6e 69 6e 67 73 | 0d 65 6e 64 20 69 66 0d |Warnings|.end if.|
|00003660| 70 75 74 20 22 74 72 75 | 65 22 20 69 6e 74 6f 20 |put "tru|e" into |
|00003670| 6c 69 6e 65 20 37 20 6f | 66 20 74 6b 50 72 65 66 |line 7 o|f tkPref|
|00003680| 73 0d 70 75 74 20 6e 20 | 69 6e 74 6f 20 6c 69 6e |s.put n |into lin|
|00003690| 65 20 38 20 6f 66 20 74 | 6b 50 72 65 66 73 0d 65 |e 8 of t|kPrefs.e|
|000036a0| 6e 64 20 69 66 0d 70 72 | 65 66 53 65 74 0d 65 6e |nd if.pr|efSet.en|
|000036b0| 64 20 73 65 74 57 61 72 | 6e 69 6e 67 73 0d 0d 6f |d setWar|nings..o|
|000036c0| 6e 20 73 70 65 63 46 6c | 64 53 65 74 75 70 0d 67 |n specFl|dSetup.g|
|000036d0| 6c 6f 62 61 6c 20 74 6b | 50 72 65 66 73 0d 70 75 |lobal tk|Prefs.pu|
|000036e0| 74 20 74 68 65 20 73 68 | 6f 72 74 20 69 64 20 6f |t the sh|ort id o|
|000036f0| 66 20 63 64 20 31 20 6f | 66 20 62 67 20 41 72 63 |f cd 1 o|f bg Arc|
|00003700| 68 69 76 65 20 69 6e 74 | 6f 20 61 0d 70 75 74 20 |hive int|o a.put |
|00003710| 74 68 65 20 73 68 6f 72 | 74 20 69 64 20 6f 66 20 |the shor|t id of |
|00003720| 63 64 20 31 20 6f 66 20 | 62 67 20 69 64 20 36 31 |cd 1 of |bg id 61|
|00003730| 38 32 20 69 6e 74 6f 20 | 62 0d 70 75 74 20 74 68 |82 into |b.put th|
|00003740| 65 20 73 68 6f 72 74 20 | 69 64 20 6f 66 20 63 64 |e short |id of cd|
|00003750| 20 31 20 6f 66 20 62 67 | 20 69 64 20 35 34 34 39 | 1 of bg| id 5449|
|00003760| 20 69 6e 74 6f 20 63 0d | 69 66 20 6c 69 6e 65 20 | into c.|if line |
|00003770| 39 20 6f 66 20 74 6b 50 | 72 65 66 73 20 3d 20 22 |9 of tkP|refs = "|
|00003780| 54 72 75 65 22 20 74 68 | 65 6e 20 70 75 74 20 35 |True" th|en put 5|
|00003790| 20 69 6e 74 6f 20 72 0d | 65 6c 73 65 20 70 75 74 | into r.|else put|
|000037a0| 20 36 20 69 6e 74 6f 20 | 72 0d 73 68 6f 77 44 69 | 6 into |r.showDi|
|000037b0| 61 6c 6f 67 20 33 2c 34 | 37 34 33 2c 22 50 72 6f |alog 3,4|743,"Pro|
|000037c0| 6d 70 74 20 73 74 72 69 | 6e 67 3a 22 2c 22 46 69 |mpt stri|ng:","Fi|
|000037d0| 65 6c 64 20 6c 61 62 65 | 6c 3a 22 2c 6c 69 6e 65 |eld labe|l:",line|
|000037e0| 20 31 30 20 6f 66 20 74 | 6b 50 72 65 66 73 2c 72 | 10 of t|kPrefs,r|
|000037f0| 0d 67 65 74 20 74 68 65 | 20 72 65 73 75 6c 74 0d |.get the| result.|
|00003800| 69 66 20 6c 69 6e 65 20 | 31 20 6f 66 20 69 74 20 |if line |1 of it |
|00003810| 3d 20 31 20 74 68 65 6e | 20 65 78 69 74 20 73 70 |= 1 then| exit sp|
|00003820| 65 63 46 6c 64 53 65 74 | 75 70 0d 69 66 20 6c 69 |ecFldSet|up.if li|
|00003830| 6e 65 20 31 20 6f 66 20 | 69 74 20 3d 20 36 20 6f |ne 1 of |it = 6 o|
|00003840| 72 20 6c 69 6e 65 20 32 | 20 6f 66 20 69 74 20 3d |r line 2| of it =|
|00003850| 20 22 22 20 6f 72 20 6c | 69 6e 65 20 33 20 6f 66 | "" or l|ine 3 of|
|00003860| 20 69 74 20 3d 20 22 22 | 20 74 68 65 6e 0d 70 75 | it = ""| then.pu|
|00003870| 74 20 22 66 61 6c 73 65 | 22 20 69 6e 74 6f 20 6c |t "false|" into l|
|00003880| 69 6e 65 20 39 20 6f 66 | 20 74 6b 50 72 65 66 73 |ine 9 of| tkPrefs|
|00003890| 0d 70 75 74 20 22 22 20 | 69 6e 74 6f 20 6c 69 6e |.put "" |into lin|
|000038a0| 65 20 31 30 20 6f 66 20 | 74 6b 50 72 65 66 73 0d |e 10 of |tkPrefs.|
|000038b0| 68 69 64 65 20 66 6c 64 | 20 69 64 20 31 30 20 6f |hide fld| id 10 o|
|000038c0| 66 20 63 64 20 69 64 20 | 63 0d 68 69 64 65 20 66 |f cd id |c.hide f|
|000038d0| 6c 64 20 69 64 20 31 30 | 20 6f 66 20 63 64 20 69 |ld id 10| of cd i|
|000038e0| 64 20 61 0d 68 69 64 65 | 20 66 6c 64 20 69 64 20 |d a.hide| fld id |
|000038f0| 39 20 6f 66 20 63 64 20 | 69 64 20 62 0d 73 65 74 |9 of cd |id b.set|
|00003900| 20 6e 61 6d 65 20 6f 66 | 20 62 67 20 62 74 6e 20 | name of| bg btn |
|00003910| 69 64 20 34 36 20 6f 66 | 20 63 64 20 69 64 20 63 |id 46 of| cd id c|
|00003920| 20 74 6f 20 22 22 20 2d | 2d 20 66 69 65 6c 64 20 | to "" -|- field |
|00003930| 6c 61 62 65 6c 0d 73 65 | 74 20 6e 61 6d 65 20 6f |label.se|t name o|
|00003940| 66 20 62 67 20 62 74 6e | 20 69 64 20 34 36 20 6f |f bg btn| id 46 o|
|00003950| 66 20 63 64 20 69 64 20 | 61 20 74 6f 20 22 22 20 |f cd id |a to "" |
|00003960| 2d 2d 20 66 69 65 6c 64 | 20 6c 61 62 65 6c 0d 73 |-- field| label.s|
|00003970| 65 74 20 6e 61 6d 65 20 | 6f 66 20 62 67 20 62 74 |et name |of bg bt|
|00003980| 6e 20 69 64 20 31 30 20 | 6f 66 20 63 64 20 69 64 |n id 10 |of cd id|
|00003990| 20 62 20 74 6f 20 22 22 | 20 2d 2d 20 66 69 65 6c | b to ""| -- fiel|
|000039a0| 64 20 6c 61 62 65 6c 0d | 65 6c 73 65 0d 70 75 74 |d label.|else.put|
|000039b0| 20 22 74 72 75 65 22 20 | 69 6e 74 6f 20 6c 69 6e | "true" |into lin|
|000039c0| 65 20 39 20 6f 66 20 74 | 6b 50 72 65 66 73 0d 73 |e 9 of t|kPrefs.s|
|000039d0| 68 6f 77 20 66 6c 64 20 | 69 64 20 31 30 20 6f 66 |how fld |id 10 of|
|000039e0| 20 63 64 20 69 64 20 63 | 0d 73 68 6f 77 20 66 6c | cd id c|.show fl|
|000039f0| 64 20 69 64 20 31 30 20 | 6f 66 20 63 64 20 69 64 |d id 10 |of cd id|
|00003a00| 20 61 0d 73 68 6f 77 20 | 66 6c 64 20 69 64 20 39 | a.show |fld id 9|
|00003a10| 20 6f 66 20 63 64 20 69 | 64 20 62 0d 70 75 74 20 | of cd i|d b.put |
|00003a20| 6c 69 6e 65 20 33 20 6f | 66 20 69 74 20 69 6e 74 |line 3 o|f it int|
|00003a30| 6f 20 6c 61 62 65 6c 4e | 61 6d 65 0d 69 66 20 6c |o labelN|ame.if l|
|00003a40| 61 73 74 20 63 68 61 72 | 20 6f 66 20 6c 61 62 65 |ast char| of labe|
|00003a50| 6c 4e 61 6d 65 20 ad 20 | 22 3a 22 20 74 68 65 6e |lName . |":" then|
|00003a60| 20 70 75 74 20 22 3a 22 | 20 61 66 74 65 72 20 6c | put ":"| after l|
|00003a70| 61 62 65 6c 4e 61 6d 65 | 0d 73 65 74 20 6e 61 6d |abelName|.set nam|
|00003a80| 65 20 6f 66 20 62 67 20 | 62 74 6e 20 69 64 20 34 |e of bg |btn id 4|
|00003a90| 36 20 6f 66 20 63 64 20 | 69 64 20 63 20 74 6f 20 |6 of cd |id c to |
|00003aa0| 6c 61 62 65 6c 4e 61 6d | 65 20 2d 2d 20 66 69 65 |labelNam|e -- fie|
|00003ab0| 6c 64 20 6c 61 62 65 6c | 0d 73 65 74 20 6e 61 6d |ld label|.set nam|
|00003ac0| 65 20 6f 66 20 62 67 20 | 62 74 6e 20 69 64 20 34 |e of bg |btn id 4|
|00003ad0| 36 20 6f 66 20 63 64 20 | 69 64 20 61 20 74 6f 20 |6 of cd |id a to |
|00003ae0| 6c 61 62 65 6c 4e 61 6d | 65 0d 73 65 74 20 6e 61 |labelNam|e.set na|
|00003af0| 6d 65 20 6f 66 20 62 67 | 20 62 74 6e 20 69 64 20 |me of bg| btn id |
|00003b00| 31 30 20 6f 66 20 63 64 | 20 69 64 20 62 20 74 6f |10 of cd| id b to|
|00003b10| 20 6c 61 62 65 6c 4e 61 | 6d 65 0d 70 75 74 20 6c | labelNa|me.put l|
|00003b20| 61 62 65 6c 4e 61 6d 65 | 20 69 6e 74 6f 20 6c 69 |abelName| into li|
|00003b30| 6e 65 20 31 31 20 6f 66 | 20 74 6b 50 72 65 66 73 |ne 11 of| tkPrefs|
|00003b40| 0d 70 75 74 20 6c 69 6e | 65 20 32 20 6f 66 20 69 |.put lin|e 2 of i|
|00003b50| 74 20 69 6e 74 6f 20 6c | 69 6e 65 20 31 30 20 6f |t into l|ine 10 o|
|00003b60| 66 20 74 6b 50 72 65 66 | 73 20 2d 2d 20 64 69 61 |f tkPref|s -- dia|
|00003b70| 6c 6f 67 20 70 72 6f 6d | 70 74 0d 65 6e 64 20 69 |log prom|pt.end i|
|00003b80| 66 0d 70 72 65 66 53 65 | 74 0d 65 6e 64 20 73 70 |f.prefSe|t.end sp|
|00003b90| 65 63 46 6c 64 53 65 74 | 75 70 0d 0d 6f 6e 20 61 |ecFldSet|up..on a|
|00003ba0| 62 6f 75 74 4d 65 0d 67 | 65 74 20 70 72 6f 6d 70 |boutMe.g|et promp|
|00003bb0| 74 44 6c 6f 67 28 34 37 | 34 39 2c 22 22 29 0d 69 |tDlog(47|49,"").i|
|00003bc0| 66 20 69 74 20 3d 20 32 | 20 74 68 65 6e 20 65 78 |f it = 2| then ex|
|00003bd0| 69 74 20 61 62 6f 75 74 | 4d 65 0d 65 6c 73 65 20 |it about|Me.else |
|00003be0| 68 65 6c 70 4d 65 0d 65 | 6e 64 20 61 62 6f 75 74 |helpMe.e|nd about|
|00003bf0| 4d 65 0d 0d 6f 6e 20 68 | 65 6c 70 4d 65 0d 6c 6f |Me..on h|elpMe.lo|
|00003c00| 63 6b 20 73 63 72 65 65 | 6e 0d 70 75 73 68 20 63 |ck scree|n.push c|
|00003c10| 64 0d 67 6f 20 63 64 20 | 31 0d 73 68 6f 77 20 66 |d.go cd |1.show f|
|00003c20| 6c 64 20 69 64 20 36 38 | 0d 73 68 6f 77 20 66 6c |ld id 68|.show fl|
|00003c30| 64 20 69 64 20 36 39 0d | 73 68 6f 77 20 66 6c 64 |d id 69.|show fld|
|00003c40| 20 69 64 20 37 30 0d 73 | 68 6f 77 20 62 67 20 62 | id 70.s|how bg b|
|00003c50| 74 6e 20 69 64 20 37 33 | 0d 73 68 6f 77 20 62 67 |tn id 73|.show bg|
|00003c60| 20 62 74 6e 20 69 64 20 | 37 34 0d 69 66 20 74 68 | btn id |74.if th|
|00003c70| 65 72 65 20 69 73 20 61 | 20 77 69 6e 64 6f 77 20 |ere is a| window |
|00003c80| 22 73 65 63 74 4e 61 76 | 22 0d 74 68 65 6e 20 68 |"sectNav|".then h|
|00003c90| 69 64 65 20 77 69 6e 64 | 6f 77 20 22 73 65 63 74 |ide wind|ow "sect|
|00003ca0| 4e 61 76 22 0d 64 69 73 | 61 62 6c 65 20 6d 65 6e |Nav".dis|able men|
|00003cb0| 75 20 22 54 69 6d 65 43 | 61 63 68 65 22 0d 64 69 |u "TimeC|ache".di|
|00003cc0| 73 61 62 6c 65 20 6d 65 | 6e 75 20 47 6f 0d 64 69 |sable me|nu Go.di|
|00003cd0| 73 61 62 6c 65 20 6d 65 | 6e 75 20 45 64 69 74 0d |sable me|nu Edit.|
|00003ce0| 64 69 73 61 62 6c 65 20 | 6d 65 6e 75 20 46 69 6c |disable |menu Fil|
|00003cf0| 65 0d 75 6e 6c 6f 63 6b | 20 73 63 72 65 65 6e 0d |e.unlock| screen.|
|00003d00| 65 6e 64 20 68 65 6c 70 | 4d 65 0d 0d 6f 6e 20 68 |end help|Me..on h|
|00003d10| 69 64 65 48 65 6c 70 0d | 6c 6f 63 6b 20 73 63 72 |ideHelp.|lock scr|
|00003d20| 65 65 6e 0d 68 69 64 65 | 20 66 6c 64 20 69 64 20 |een.hide| fld id |
|00003d30| 36 38 20 6f 66 20 63 64 | 20 31 0d 68 69 64 65 20 |68 of cd| 1.hide |
|00003d40| 66 6c 64 20 69 64 20 36 | 39 20 6f 66 20 63 64 20 |fld id 6|9 of cd |
|00003d50| 31 0d 68 69 64 65 20 66 | 6c 64 20 69 64 20 37 30 |1.hide f|ld id 70|
|00003d60| 20 6f 66 20 63 64 20 31 | 0d 68 69 64 65 20 66 6c | of cd 1|.hide fl|
|00003d70| 64 20 69 64 20 37 31 20 | 6f 66 20 63 64 20 31 0d |d id 71 |of cd 1.|
|00003d80| 68 69 64 65 20 66 6c 64 | 20 69 64 20 37 32 20 6f |hide fld| id 72 o|
|00003d90| 66 20 63 64 20 31 0d 68 | 69 64 65 20 62 67 20 62 |f cd 1.h|ide bg b|
|00003da0| 74 6e 20 69 64 20 37 33 | 20 6f 66 20 63 64 20 31 |tn id 73| of cd 1|
|00003db0| 0d 68 69 64 65 20 62 67 | 20 62 74 6e 20 69 64 20 |.hide bg| btn id |
|00003dc0| 37 34 20 6f 66 20 63 64 | 20 31 0d 73 65 74 20 74 |74 of cd| 1.set t|
|00003dd0| 68 65 20 6e 61 6d 65 20 | 6f 66 20 62 67 20 62 74 |he name |of bg bt|
|00003de0| 6e 20 69 64 20 37 33 20 | 6f 66 20 63 64 20 31 20 |n id 73 |of cd 1 |
|00003df0| 74 6f 20 22 53 68 6f 77 | 20 d2 4d 65 6e 75 d3 20 |to "Show| .Menu. |
|00003e00| 48 65 6c 70 22 0d 65 6e | 61 62 6c 65 20 6d 65 6e |Help".en|able men|
|00003e10| 75 20 22 54 69 6d 65 43 | 61 63 68 65 22 0d 65 6e |u "TimeC|ache".en|
|00003e20| 61 62 6c 65 20 6d 65 6e | 75 20 47 6f 0d 65 6e 61 |able men|u Go.ena|
|00003e30| 62 6c 65 20 6d 65 6e 75 | 20 45 64 69 74 0d 65 6e |ble menu| Edit.en|
|00003e40| 61 62 6c 65 20 6d 65 6e | 75 20 46 69 6c 65 0d 69 |able men|u File.i|
|00003e50| 66 20 74 68 65 72 65 20 | 69 73 20 61 20 77 69 6e |f there |is a win|
|00003e60| 64 6f 77 20 22 73 65 63 | 74 4e 61 76 22 0d 74 68 |dow "sec|tNav".th|
|00003e70| 65 6e 20 73 68 6f 77 20 | 77 69 6e 64 6f 77 20 22 |en show |window "|
|00003e80| 73 65 63 74 4e 61 76 22 | 0d 73 65 74 20 74 68 65 |sectNav"|.set the|
|00003e90| 20 73 63 72 6f 6c 6c 20 | 6f 66 20 66 6c 64 20 69 | scroll |of fld i|
|00003ea0| 64 20 36 39 20 74 6f 20 | 30 0d 73 65 74 20 74 68 |d 69 to |0.set th|
|00003eb0| 65 20 73 63 72 6f 6c 6c | 20 6f 66 20 66 6c 64 20 |e scroll| of fld |
|00003ec0| 69 64 20 37 30 20 74 6f | 20 30 0d 73 65 74 20 74 |id 70 to| 0.set t|
|00003ed0| 68 65 20 73 63 72 6f 6c | 6c 20 6f 66 20 66 6c 64 |he scrol|l of fld|
|00003ee0| 20 69 64 20 37 31 20 74 | 6f 20 30 0d 73 65 74 20 | id 71 t|o 0.set |
|00003ef0| 74 68 65 20 73 63 72 6f | 6c 6c 20 6f 66 20 66 6c |the scro|ll of fl|
|00003f00| 64 20 69 64 20 37 32 20 | 74 6f 20 30 0d 70 6f 70 |d id 72 |to 0.pop|
|00003f10| 20 63 64 0d 75 6e 6c 6f | 63 6b 20 53 63 72 65 65 | cd.unlo|ck Scree|
|00003f20| 6e 20 77 69 74 68 20 76 | 69 73 75 61 6c 20 65 66 |n with v|isual ef|
|00003f30| 66 65 63 74 20 7a 6f 6f | 6d 20 69 6e 20 74 6f 20 |fect zoo|m in to |
|00003f40| 63 61 72 64 0d 65 6e 64 | 20 68 69 64 65 48 65 6c |card.end| hideHel|
|00003f50| 70 0d 0d 6f 6e 20 68 6f | 77 54 6f 48 65 6c 70 0d |p..on ho|wToHelp.|
|00003f60| 6c 6f 63 6b 20 73 63 72 | 65 65 6e 0d 68 69 64 65 |lock scr|een.hide|
|00003f70| 20 66 6c 64 20 69 64 20 | 37 31 0d 68 69 64 65 20 | fld id |71.hide |
|00003f80| 66 6c 64 20 69 64 20 37 | 32 0d 73 68 6f 77 20 66 |fld id 7|2.show f|
|00003f90| 6c 64 20 69 64 20 36 39 | 0d 73 68 6f 77 20 66 6c |ld id 69|.show fl|
|00003fa0| 64 20 69 64 20 37 30 0d | 73 65 74 20 74 68 65 20 |d id 70.|set the |
|00003fb0| 6e 61 6d 65 20 6f 66 20 | 62 67 20 62 74 6e 20 69 |name of |bg btn i|
|00003fc0| 64 20 37 33 20 74 6f 20 | 22 53 68 6f 77 20 d2 4d |d 73 to |"Show .M|
|00003fd0| 65 6e 75 d3 20 48 65 6c | 70 22 0d 65 6e 64 20 68 |enu. Hel|p".end h|
|00003fe0| 6f 77 54 6f 48 65 6c 70 | 0d 0d 6f 6e 20 6d 65 6e |owToHelp|..on men|
|00003ff0| 75 48 65 6c 70 0d 6c 6f | 63 6b 20 73 63 72 65 65 |uHelp.lo|ck scree|
|00004000| 6e 0d 68 69 64 65 20 66 | 6c 64 20 69 64 20 36 39 |n.hide f|ld id 69|
|00004010| 0d 68 69 64 65 20 66 6c | 64 20 69 64 20 37 30 0d |.hide fl|d id 70.|
|00004020| 73 68 6f 77 20 66 6c 64 | 20 69 64 20 37 31 0d 73 |show fld| id 71.s|
|00004030| 68 6f 77 20 66 6c 64 20 | 69 64 20 37 32 0d 73 65 |how fld |id 72.se|
|00004040| 74 20 74 68 65 20 6e 61 | 6d 65 20 6f 66 20 62 67 |t the na|me of bg|
|00004050| 20 62 74 6e 20 69 64 20 | 37 33 20 74 6f 20 22 53 | btn id |73 to "S|
|00004060| 68 6f 77 20 d2 48 6f 77 | 2d 74 6f d3 20 48 65 6c |how .How|-to. Hel|
|00004070| 70 22 0d 65 6e 64 20 6d | 65 6e 75 48 65 6c 70 0d |p".end m|enuHelp.|
|00004080| 0d 6f 6e 20 73 73 20 78 | 0d 65 78 69 74 20 73 73 |.on ss x|.exit ss|
|00004090| 0d 65 6e 64 20 73 73 0d | 0d 6f 6e 20 73 65 61 72 |.end ss.|.on sear|
|000040a0| 63 68 53 63 72 69 70 74 | 20 78 0d 65 78 69 74 20 |chScript| x.exit |
|000040b0| 73 65 61 72 63 68 53 63 | 72 69 70 74 0d 65 6e 64 |searchSc|ript.end|
|000040c0| 20 73 65 61 72 63 68 53 | 63 72 69 70 74 0d 0d 6f | searchS|cript..o|
|000040d0| 6e 20 73 65 74 41 75 74 | 6f 0d 67 6c 6f 62 61 6c |n setAut|o.global|
|000040e0| 20 74 6b 50 72 65 66 73 | 0d 69 66 20 6c 69 6e 65 | tkPrefs|.if line|
|000040f0| 20 31 37 20 6f 66 20 74 | 6b 50 72 65 66 73 20 3d | 17 of t|kPrefs =|
|00004100| 20 22 22 20 74 68 65 6e | 20 70 75 74 20 36 20 69 | "" then| put 6 i|
|00004110| 6e 74 6f 20 72 0d 65 6c | 73 65 20 70 75 74 20 6c |nto r.el|se put l|
|00004120| 69 6e 65 20 31 37 20 6f | 66 20 74 6b 50 72 65 66 |ine 17 o|f tkPref|
|00004130| 73 20 69 6e 74 6f 20 72 | 0d 73 68 6f 77 44 69 61 |s into r|.showDia|
|00004140| 6c 6f 67 20 33 2c 31 32 | 39 31 2c 22 41 75 74 6f |log 3,12|91,"Auto|
|00004150| 6d 61 74 69 63 61 6c 6c | 79 20 63 72 65 61 74 65 |maticall|y create|
|00004160| 20 44 61 69 6c 79 20 54 | 69 6d 65 73 68 65 65 74 | Daily T|imesheet|
|00004170| 73 20 61 66 74 65 72 20 | 74 72 61 6e 73 66 65 72 |s after |transfer|
|00004180| 72 69 6e 67 20 65 6e 74 | 72 69 65 73 3f 22 2c 2c |ring ent|ries?",,|
|00004190| 2c 72 0d 67 65 74 20 6c | 69 6e 65 20 31 20 6f 66 |,r.get l|ine 1 of|
|000041a0| 20 74 68 65 20 72 65 73 | 75 6c 74 0d 69 66 20 69 | the res|ult.if i|
|000041b0| 74 20 3d 20 22 22 20 74 | 68 65 6e 20 65 78 69 74 |t = "" t|hen exit|
|000041c0| 20 73 65 74 41 75 74 6f | 0d 70 75 74 20 69 74 20 | setAuto|.put it |
|000041d0| 69 6e 74 6f 20 6c 69 6e | 65 20 31 37 20 6f 66 20 |into lin|e 17 of |
|000041e0| 74 6b 50 72 65 66 73 0d | 70 72 65 66 53 65 74 0d |tkPrefs.|prefSet.|
|000041f0| 65 6e 64 20 73 65 74 41 | 75 74 6f 0d 0d 6f 6e 20 |end setA|uto..on |
|00004200| 65 78 70 6f 72 74 46 6f | 72 6d 61 74 0d 67 6c 6f |exportFo|rmat.glo|
|00004210| 62 61 6c 20 74 6b 50 72 | 65 66 73 0d 69 66 20 6c |bal tkPr|efs.if l|
|00004220| 69 6e 65 20 31 32 20 6f | 66 20 74 6b 50 72 65 66 |ine 12 o|f tkPref|
|00004230| 73 20 3d 20 22 22 20 74 | 68 65 6e 20 70 75 74 20 |s = "" t|hen put |
|00004240| 35 20 69 6e 74 6f 20 72 | 0d 65 6c 73 65 20 70 75 |5 into r|.else pu|
|00004250| 74 20 6c 69 6e 65 20 31 | 32 20 6f 66 20 74 6b 50 |t line 1|2 of tkP|
|00004260| 72 65 66 73 20 69 6e 74 | 6f 20 72 0d 73 68 6f 77 |refs int|o r.show|
|00004270| 44 69 61 6c 6f 67 20 33 | 2c 31 32 39 35 2c 22 53 |Dialog 3|,1295,"S|
|00004280| 65 6c 65 63 74 20 61 20 | 66 6f 72 6d 61 74 20 66 |elect a |format f|
|00004290| 6f 72 20 65 78 70 6f 72 | 74 65 64 20 4a 6f 62 20 |or expor|ted Job |
|000042a0| 53 68 65 65 74 20 72 65 | 70 6f 72 74 73 22 2c 2c |Sheet re|ports",,|
|000042b0| 2c 72 0d 67 65 74 20 74 | 68 65 20 72 65 73 75 6c |,r.get t|he resul|
|000042c0| 74 0d 69 66 20 69 74 20 | 3d 20 22 22 20 74 68 65 |t.if it |= "" the|
|000042d0| 6e 20 65 78 69 74 20 74 | 6f 20 68 79 70 65 72 63 |n exit t|o hyperc|
|000042e0| 61 72 64 0d 70 75 74 20 | 6c 69 6e 65 20 31 20 6f |ard.put |line 1 o|
|000042f0| 66 20 69 74 20 69 6e 74 | 6f 20 6c 69 6e 65 20 31 |f it int|o line 1|
|00004300| 32 20 6f 66 20 74 6b 50 | 72 65 66 73 0d 6a 6f 62 |2 of tkP|refs.job|
|00004310| 41 70 70 73 0d 70 72 65 | 66 53 65 74 0d 65 6e 64 |Apps.pre|fSet.end|
|00004320| 20 65 78 70 6f 72 74 46 | 6f 72 6d 61 74 0d 0d 6f | exportF|ormat..o|
|00004330| 6e 20 73 65 74 43 6f 6d | 6d 65 6e 74 73 0d 67 6c |n setCom|ments.gl|
|00004340| 6f 62 61 6c 20 74 6b 50 | 72 65 66 73 0d 69 66 20 |obal tkP|refs.if |
|00004350| 6c 69 6e 65 20 31 36 20 | 6f 66 20 74 6b 50 72 65 |line 16 |of tkPre|
|00004360| 66 73 20 3d 20 46 61 6c | 73 65 20 6f 72 20 6c 69 |fs = Fal|se or li|
|00004370| 6e 65 20 31 36 20 6f 66 | 20 74 6b 50 72 65 66 73 |ne 16 of| tkPrefs|
|00004380| 20 3d 20 22 22 20 74 68 | 65 6e 20 70 75 74 20 35 | = "" th|en put 5|
|00004390| 20 69 6e 74 6f 20 72 0d | 65 6c 73 65 20 70 75 74 | into r.|else put|
|000043a0| 20 34 20 69 6e 74 6f 20 | 72 0d 73 68 6f 77 44 69 | 4 into |r.showDi|
|000043b0| 61 6c 6f 67 20 33 2c 31 | 32 39 32 2c 22 55 73 65 |alog 3,1|292,"Use|
|000043c0| 20 6c 6f 6e 67 20 63 6f | 6d 6d 65 6e 74 73 3f 22 | long co|mments?"|
|000043d0| 2c 2c 2c 72 0d 67 65 74 | 20 74 68 65 20 72 65 73 |,,,r.get| the res|
|000043e0| 75 6c 74 0d 69 66 20 69 | 74 20 3d 20 22 22 20 74 |ult.if i|t = "" t|
|000043f0| 68 65 6e 20 65 78 69 74 | 20 73 65 74 43 6f 6d 6d |hen exit| setComm|
|00004400| 65 6e 74 73 0d 70 75 74 | 20 28 6c 69 6e 65 20 31 |ents.put| (line 1|
|00004410| 20 6f 66 20 69 74 20 3d | 20 34 29 20 69 6e 74 6f | of it =| 4) into|
|00004420| 20 6c 69 6e 65 20 31 36 | 20 6f 66 20 74 6b 50 72 | line 16| of tkPr|
|00004430| 65 66 73 0d 70 72 65 66 | 53 65 74 0d 65 6e 64 20 |efs.pref|Set.end |
|00004440| 73 65 74 43 6f 6d 6d 65 | 6e 74 73 0d 0d 6f 6e 20 |setComme|nts..on |
|00004450| 73 65 74 57 6b 6e 64 73 | 0d 67 6c 6f 62 61 6c 20 |setWknds|.global |
|00004460| 74 6b 50 72 65 66 73 0d | 69 66 20 6c 69 6e 65 20 |tkPrefs.|if line |
|00004470| 31 34 20 6f 66 20 74 6b | 50 72 65 66 73 20 3d 20 |14 of tk|Prefs = |
|00004480| 22 54 72 75 65 22 20 74 | 68 65 6e 20 70 75 74 20 |"True" t|hen put |
|00004490| 34 20 69 6e 74 6f 20 72 | 0d 65 6c 73 65 20 70 75 |4 into r|.else pu|
|000044a0| 74 20 35 20 69 6e 74 6f | 20 72 0d 73 68 6f 77 44 |t 5 into| r.showD|
|000044b0| 69 61 6c 6f 67 20 33 2c | 31 32 39 32 2c 22 53 6b |ialog 3,|1292,"Sk|
|000044c0| 69 70 20 77 65 65 6b 65 | 6e 64 73 20 77 68 65 6e |ip weeke|nds when|
|000044d0| 20 70 72 6f 6d 70 74 69 | 6e 67 20 66 6f 72 20 6e | prompti|ng for n|
|000044e0| 65 78 74 20 64 61 74 65 | 3f 22 2c 2c 2c 72 0d 67 |ext date|?",,,r.g|
|000044f0| 65 74 20 74 68 65 20 72 | 65 73 75 6c 74 0d 69 66 |et the r|esult.if|
|00004500| 20 69 74 20 3d 20 22 22 | 20 74 68 65 6e 20 65 78 | it = ""| then ex|
|00004510| 69 74 20 73 65 74 57 6b | 6e 64 73 0d 70 75 74 20 |it setWk|nds.put |
|00004520| 28 6c 69 6e 65 20 31 20 | 6f 66 20 69 74 20 3d 20 |(line 1 |of it = |
|00004530| 34 29 20 69 6e 74 6f 20 | 6c 69 6e 65 20 31 34 20 |4) into |line 14 |
|00004540| 6f 66 20 74 6b 50 72 65 | 66 73 0d 70 72 65 66 53 |of tkPre|fs.prefS|
|00004550| 65 74 0d 65 6e 64 20 73 | 65 74 57 6b 6e 64 73 0d |et.end s|etWknds.|
|00004560| 0d 6f 6e 20 70 72 65 66 | 53 65 74 0d 67 6c 6f 62 |.on pref|Set.glob|
|00004570| 61 6c 20 74 6b 50 72 65 | 66 73 0d 70 75 74 20 74 |al tkPre|fs.put t|
|00004580| 6b 50 72 65 66 73 20 69 | 6e 74 6f 20 66 6c 64 20 |kPrefs i|nto fld |
|00004590| 69 64 20 34 38 20 6f 66 | 20 63 64 20 31 0d 65 6e |id 48 of| cd 1.en|
|000045a0| 64 20 70 72 65 66 53 65 | 74 0d 0d 6f 6e 20 63 6f |d prefSe|t..on co|
|000045b0| 6d 6d 61 57 61 72 6e 69 | 6e 67 0d 62 65 65 70 0d |mmaWarni|ng.beep.|
|000045c0| 73 64 41 6c 65 72 74 20 | 22 53 6f 72 72 79 21 20 |sdAlert |"Sorry! |
|000045d0| 43 61 6e d5 74 20 75 73 | 65 20 63 6f 6d 6d 61 73 |Can.t us|e commas|
|000045e0| 2e 20 50 6c 65 61 73 65 | 20 74 72 79 20 61 67 61 |. Please| try aga|
|000045f0| 69 6e 2e 22 0d 65 6e 64 | 20 63 6f 6d 6d 61 57 61 |in.".end| commaWa|
|00004600| 72 6e 69 6e 67 0d 0d 6f | 6e 20 68 69 64 65 54 4b |rning..o|n hideTK|
|00004610| 0d 67 6c 6f 62 61 6c 20 | 74 6b 50 72 65 66 73 0d |.global |tkPrefs.|
|00004620| 6c 6f 63 6b 20 73 63 72 | 65 65 6e 0d 70 75 74 20 |lock scr|een.put |
|00004630| 74 68 65 20 6e 75 6d 62 | 65 72 20 6f 66 20 6d 65 |the numb|er of me|
|00004640| 6e 75 49 74 65 6d 73 20 | 69 6e 20 6d 65 6e 75 20 |nuItems |in menu |
|00004650| 22 54 69 6d 65 43 61 63 | 68 65 22 20 69 6e 74 6f |"TimeCac|he" into|
|00004660| 20 69 0d 69 66 20 74 68 | 65 20 76 69 73 69 62 6c | i.if th|e visibl|
|00004670| 65 20 6f 66 20 77 69 6e | 64 6f 77 20 28 73 68 6f |e of win|dow (sho|
|00004680| 72 74 20 6e 61 6d 65 20 | 6f 66 20 74 68 69 73 20 |rt name |of this |
|00004690| 73 74 61 63 6b 29 20 3d | 20 74 72 75 65 20 74 68 |stack) =| true th|
|000046a0| 65 6e 0d 68 69 64 65 20 | 77 69 6e 64 6f 77 20 28 |en.hide |window (|
|000046b0| 73 68 6f 72 74 20 6e 61 | 6d 65 20 6f 66 20 74 68 |short na|me of th|
|000046c0| 69 73 20 73 74 61 63 6b | 29 0d 73 65 74 20 74 68 |is stack|).set th|
|000046d0| 65 20 63 68 65 63 6b 4d | 61 72 6b 20 6f 66 20 6d |e checkM|ark of m|
|000046e0| 65 6e 75 49 74 65 6d 20 | 22 48 69 64 65 20 54 69 |enuItem |"Hide Ti|
|000046f0| 6d 65 43 61 63 68 65 22 | 20 6f 66 20 6d 65 6e 75 |meCache"| of menu|
|00004700| 20 22 54 69 6d 65 43 61 | 63 68 65 22 20 74 6f 20 | "TimeCa|che" to |
|00004710| 74 72 75 65 0d 72 65 70 | 65 61 74 20 77 69 74 68 |true.rep|eat with|
|00004720| 20 78 20 3d 20 33 20 74 | 6f 20 69 0d 64 69 73 61 | x = 3 t|o i.disa|
|00004730| 62 6c 65 20 6d 65 6e 75 | 49 74 65 6d 20 78 20 6f |ble menu|Item x o|
|00004740| 66 20 6d 65 6e 75 20 22 | 54 69 6d 65 43 61 63 68 |f menu "|TimeCach|
|00004750| 65 22 0d 65 6e 64 20 72 | 65 70 65 61 74 0d 69 66 |e".end r|epeat.if|
|00004760| 20 74 68 65 72 65 20 69 | 73 20 61 20 77 69 6e 64 | there i|s a wind|
|00004770| 6f 77 20 22 73 65 63 74 | 4e 61 76 22 0d 74 68 65 |ow "sect|Nav".the|
|00004780| 6e 20 68 69 64 65 20 77 | 69 6e 64 6f 77 20 22 73 |n hide w|indow "s|
|00004790| 65 63 74 4e 61 76 22 0d | 64 69 73 61 62 6c 65 20 |ectNav".|disable |
|000047a0| 6d 65 6e 75 20 47 6f 0d | 64 69 73 61 62 6c 65 20 |menu Go.|disable |
|000047b0| 6d 65 6e 75 20 45 64 69 | 74 0d 64 69 73 61 62 6c |menu Edi|t.disabl|
|000047c0| 65 20 6d 65 6e 75 20 46 | 69 6c 65 0d 65 6c 73 65 |e menu F|ile.else|
|000047d0| 0d 73 68 6f 77 20 77 69 | 6e 64 6f 77 20 73 68 6f |.show wi|ndow sho|
|000047e0| 72 74 20 6e 61 6d 65 20 | 6f 66 20 74 68 69 73 20 |rt name |of this |
|000047f0| 73 74 61 63 6b 0d 73 65 | 74 20 74 68 65 20 63 68 |stack.se|t the ch|
|00004800| 65 63 6b 4d 61 72 6b 20 | 6f 66 20 6d 65 6e 75 49 |eckMark |of menuI|
|00004810| 74 65 6d 20 22 48 69 64 | 65 20 54 69 6d 65 43 61 |tem "Hid|e TimeCa|
|00004820| 63 68 65 22 20 6f 66 20 | 6d 65 6e 75 20 22 54 69 |che" of |menu "Ti|
|00004830| 6d 65 43 61 63 68 65 22 | 20 74 6f 20 66 61 6c 73 |meCache"| to fals|
|00004840| 65 0d 72 65 70 65 61 74 | 20 77 69 74 68 20 78 20 |e.repeat| with x |
|00004850| 3d 20 33 20 74 6f 20 69 | 0d 65 6e 61 62 6c 65 20 |= 3 to i|.enable |
|00004860| 6d 65 6e 75 49 74 65 6d | 20 78 20 6f 66 20 6d 65 |menuItem| x of me|
|00004870| 6e 75 20 22 54 69 6d 65 | 43 61 63 68 65 22 0d 65 |nu "Time|Cache".e|
|00004880| 6e 64 20 72 65 70 65 61 | 74 0d 65 6e 61 62 6c 65 |nd repea|t.enable|
|00004890| 20 6d 65 6e 75 20 47 6f | 0d 65 6e 61 62 6c 65 20 | menu Go|.enable |
|000048a0| 6d 65 6e 75 20 45 64 69 | 74 0d 65 6e 61 62 6c 65 |menu Edi|t.enable|
|000048b0| 20 6d 65 6e 75 20 46 69 | 6c 65 0d 69 66 20 74 68 | menu Fi|le.if th|
|000048c0| 65 72 65 20 69 73 20 61 | 20 77 69 6e 64 6f 77 20 |ere is a| window |
|000048d0| 22 73 65 63 74 4e 61 76 | 22 0d 74 68 65 6e 20 73 |"sectNav|".then s|
|000048e0| 68 6f 77 20 77 69 6e 64 | 6f 77 20 22 73 65 63 74 |how wind|ow "sect|
|000048f0| 4e 61 76 22 0d 65 6e 64 | 20 69 66 0d 75 6e 6c 6f |Nav".end| if.unlo|
|00004900| 63 6b 20 73 63 72 65 65 | 6e 0d 65 6e 64 20 68 69 |ck scree|n.end hi|
|00004910| 64 65 54 4b 0d 0d 6f 6e | 20 65 78 69 74 4d 6f 76 |deTK..on| exitMov|
|00004920| 65 0d 67 6c 6f 62 61 6c | 20 6d 6f 76 65 54 65 78 |e.global| moveTex|
|00004930| 74 2c 63 6f 70 79 4d 6f | 64 65 0d 70 75 74 20 66 |t,copyMo|de.put f|
|00004940| 61 6c 73 65 20 69 6e 74 | 6f 20 63 6f 70 79 4d 6f |alse int|o copyMo|
|00004950| 64 65 0d 69 66 20 6d 6f | 76 65 54 65 78 74 20 ad |de.if mo|veText .|
|00004960| 20 22 22 20 74 68 65 6e | 0d 70 75 74 20 22 43 61 | "" then|.put "Ca|
|00004970| 6e 63 65 6c 69 6e 67 20 | 6e 6f 77 20 77 69 6c 6c |nceling |now will|
|00004980| 20 64 65 6c 65 74 65 20 | 74 68 65 20 6c 69 6e 65 | delete |the line|
|00004990| 20 79 6f 75 20 73 65 6c | 65 63 74 65 64 2e 20 52 | you sel|ected. R|
|000049a0| 65 73 74 6f 72 65 20 22 | 20 26 c2 0d 22 74 68 65 |estore "| &.."the|
|000049b0| 20 6c 69 6e 65 3f 22 20 | 69 6e 74 6f 20 70 72 6f | line?" |into pro|
|000049c0| 6d 70 74 0d 62 65 65 70 | 0d 67 65 74 20 70 72 6f |mpt.beep|.get pro|
|000049d0| 6d 70 74 44 4c 6f 67 28 | 31 33 30 35 2c 70 72 6f |mptDLog(|1305,pro|
|000049e0| 6d 70 74 29 0d 69 66 20 | 69 74 20 3d 20 31 20 74 |mpt).if |it = 1 t|
|000049f0| 68 65 6e 20 72 65 73 74 | 6f 72 65 4d 6f 76 65 0d |hen rest|oreMove.|
|00004a00| 65 6e 64 20 69 66 0d 65 | 6e 61 62 6c 65 20 6d 65 |end if.e|nable me|
|00004a10| 6e 75 20 22 46 69 6c 65 | 22 0d 65 6e 61 62 6c 65 |nu "File|".enable|
|00004a20| 20 6d 65 6e 75 20 22 54 | 69 6d 65 43 61 63 68 65 | menu "T|imeCache|
|00004a30| 22 0d 65 6e 61 62 6c 65 | 20 6d 65 6e 75 20 22 47 |".enable| menu "G|
|00004a40| 6f 22 0d 63 6c 6f 73 65 | 4d 6f 76 65 57 69 6e 64 |o".close|MoveWind|
|00004a50| 6f 77 73 0d 65 6e 64 20 | 65 78 69 74 4d 6f 76 65 |ows.end |exitMove|
|00004a60| 0d 0d 6f 6e 20 72 65 73 | 74 6f 72 65 4d 6f 76 65 |..on res|toreMove|
|00004a70| 0d 67 6c 6f 62 61 6c 20 | 74 43 64 2c 62 2c 6d 6f |.global |tCd,b,mo|
|00004a80| 76 65 54 65 78 74 2c 70 | 61 73 74 65 4d 6f 64 65 |veText,p|asteMode|
|00004a90| 0d 73 65 74 20 63 75 72 | 73 6f 72 20 74 6f 20 77 |.set cur|sor to w|
|00004aa0| 61 74 63 68 0d 6c 6f 63 | 6b 20 73 63 72 65 65 6e |atch.loc|k screen|
|00004ab0| 0d 73 65 74 20 6c 6f 63 | 6b 4d 65 73 73 61 67 65 |.set loc|kMessage|
|00004ac0| 73 20 74 6f 20 74 72 75 | 65 0d 69 66 20 62 20 3e |s to tru|e.if b >|
|00004ad0| 20 31 20 74 68 65 6e 0d | 70 75 74 20 72 65 74 75 | 1 then.|put retu|
|00004ae0| 72 6e 20 69 6e 74 6f 20 | 67 0d 70 75 74 20 22 22 |rn into |g.put ""|
|00004af0| 20 69 6e 74 6f 20 68 0d | 65 6c 73 65 0d 70 75 74 | into h.|else.put|
|00004b00| 20 32 20 69 6e 74 6f 20 | 62 0d 70 75 74 20 22 22 | 2 into |b.put ""|
|00004b10| 20 69 6e 74 6f 20 67 0d | 70 75 74 20 72 65 74 75 | into g.|put retu|
|00004b20| 72 6e 20 69 6e 74 6f 20 | 68 0d 65 6e 64 20 69 66 |rn into |h.end if|
|00004b30| 0d 72 65 70 65 61 74 20 | 77 69 74 68 20 78 20 3d |.repeat |with x =|
|00004b40| 20 31 20 74 6f 20 35 0d | 70 75 74 20 67 20 26 20 | 1 to 5.|put g & |
|00004b50| 6c 69 6e 65 20 78 20 6f | 66 20 6d 6f 76 65 54 65 |line x o|f moveTe|
|00004b60| 78 74 20 26 20 68 20 69 | 6e 74 6f 20 72 65 73 74 |xt & h i|nto rest|
|00004b70| 6f 72 65 54 65 78 74 0d | 70 75 74 20 72 65 73 74 |oreText.|put rest|
|00004b80| 6f 72 65 54 65 78 74 20 | 61 66 74 65 72 20 6c 69 |oreText |after li|
|00004b90| 6e 65 20 28 62 20 2d 20 | 31 29 20 6f 66 20 66 6c |ne (b - |1) of fl|
|00004ba0| 64 20 78 20 6f 66 20 63 | 64 20 74 43 64 0d 65 6e |d x of c|d tCd.en|
|00004bb0| 64 20 72 65 70 65 61 74 | 0d 73 75 6d 48 6f 75 72 |d repeat|.sumHour|
|00004bc0| 73 20 74 43 64 0d 73 65 | 74 20 6c 6f 63 6b 4d 65 |s tCd.se|t lockMe|
|00004bd0| 73 73 61 67 65 73 20 74 | 6f 20 66 61 6c 73 65 0d |ssages t|o false.|
|00004be0| 67 6f 20 63 64 20 74 43 | 64 0d 70 75 74 20 22 22 |go cd tC|d.put ""|
|00004bf0| 20 69 6e 74 6f 20 6d 6f | 76 65 54 65 78 74 0d 70 | into mo|veText.p|
|00004c00| 75 74 20 66 61 6c 73 65 | 20 69 6e 74 6f 20 70 61 |ut false| into pa|
|00004c10| 73 74 65 4d 6f 64 65 0d | 63 6c 6f 73 65 4d 6f 76 |steMode.|closeMov|
|00004c20| 65 57 69 6e 64 6f 77 73 | 0d 75 6e 6c 6f 63 6b 20 |eWindows|.unlock |
|00004c30| 73 63 72 65 65 6e 0d 65 | 6e 64 20 72 65 73 74 6f |screen.e|nd resto|
|00004c40| 72 65 4d 6f 76 65 0d 0d | 6f 6e 20 6d 6f 76 65 4c |reMove..|on moveL|
|00004c50| 69 6e 65 0d 67 6c 6f 62 | 61 6c 20 63 6f 70 79 4d |ine.glob|al copyM|
|00004c60| 6f 64 65 0d 73 65 74 20 | 63 75 72 73 6f 72 20 74 |ode.set |cursor t|
|00004c70| 6f 20 77 61 74 63 68 0d | 6c 6f 63 6b 20 73 63 72 |o watch.|lock scr|
|00004c80| 65 65 6e 0d 70 61 6c 65 | 74 74 65 20 73 74 61 72 |een.pale|tte star|
|00004c90| 74 4d 6f 76 65 2c 22 32 | 34 32 2c 32 34 32 22 0d |tMove,"2|42,242".|
|00004ca0| 70 75 74 20 74 72 75 65 | 20 69 6e 74 6f 20 63 6f |put true| into co|
|00004cb0| 70 79 4d 6f 64 65 0d 62 | 65 65 70 0d 64 69 73 61 |pyMode.b|eep.disa|
|00004cc0| 62 6c 65 20 6d 65 6e 75 | 20 22 46 69 6c 65 22 0d |ble menu| "File".|
|00004cd0| 64 69 73 61 62 6c 65 20 | 6d 65 6e 75 20 22 47 6f |disable |menu "Go|
|00004ce0| 22 0d 64 69 73 61 62 6c | 65 20 6d 65 6e 75 20 22 |".disabl|e menu "|
|00004cf0| 54 69 6d 65 43 61 63 68 | 65 22 0d 75 6e 6c 6f 63 |TimeCach|e".unloc|
|00004d00| 6b 20 73 63 72 65 65 6e | 0d 65 6e 64 20 6d 6f 76 |k screen|.end mov|
|00004d10| 65 4c 69 6e 65 0d 0d 6f | 6e 20 64 6f 4d 6f 76 65 |eLine..o|n doMove|
|00004d20| 0d 67 6c 6f 62 61 6c 20 | 70 61 73 74 65 4d 6f 64 |.global |pasteMod|
|00004d30| 65 2c 6d 6f 76 65 54 65 | 78 74 2c 62 2c 63 64 4e |e,moveTe|xt,b,cdN|
|00004d40| 61 6d 65 0d 73 65 74 20 | 63 75 72 73 6f 72 20 74 |ame.set |cursor t|
|00004d50| 6f 20 77 61 74 63 68 0d | 69 66 20 74 68 65 20 73 |o watch.|if the s|
|00004d60| 68 6f 72 74 20 69 64 20 | 6f 66 20 74 68 69 73 20 |hort id |of this |
|00004d70| 62 67 20 ad 20 35 34 34 | 39 20 74 68 65 6e 0d 62 |bg . 544|9 then.b|
|00004d80| 65 65 70 0d 73 64 41 6c | 65 72 74 20 22 59 6f 75 |eep.sdAl|ert "You|
|00004d90| 20 63 61 6e 20 6f 6e 6c | 79 20 61 64 64 20 74 68 | can onl|y add th|
|00004da0| 69 73 20 64 61 74 61 20 | 74 6f 20 61 20 4a 6f 62 |is data |to a Job|
|00004db0| 20 53 68 65 65 74 2e 20 | 53 74 61 72 74 20 61 67 | Sheet. |Start ag|
|00004dc0| 61 69 6e 2e 22 0d 72 65 | 73 74 6f 72 65 4d 6f 76 |ain.".re|storeMov|
|00004dd0| 65 0d 65 6e 64 20 69 66 | 0d 69 66 20 70 61 73 74 |e.end if|.if past|
|00004de0| 65 4d 6f 64 65 20 3d 20 | 74 72 75 65 20 61 6e 64 |eMode = |true and|
|00004df0| 20 6d 6f 76 65 54 65 78 | 74 20 ad 20 22 22 20 74 | moveTex|t . "" t|
|00004e00| 68 65 6e 0d 70 75 74 20 | 31 20 2b 20 74 68 65 20 |hen.put |1 + the |
|00004e10| 6e 75 6d 62 65 72 20 6f | 66 20 6c 69 6e 65 73 20 |number o|f lines |
|00004e20| 69 6e 20 66 6c 64 20 69 | 64 20 32 20 69 6e 74 6f |in fld i|d 2 into|
|00004e30| 20 6e 0d 69 66 20 6e 20 | 3e 20 31 20 74 68 65 6e | n.if n |> 1 then|
|00004e40| 20 70 75 74 20 72 65 74 | 75 72 6e 20 69 6e 74 6f | put ret|urn into|
|00004e50| 20 67 0d 65 6c 73 65 20 | 70 75 74 20 22 22 20 69 | g.else |put "" i|
|00004e60| 6e 74 6f 20 67 0d 6c 6f | 63 6b 20 73 63 72 65 65 |nto g.lo|ck scree|
|00004e70| 6e 0d 72 65 70 65 61 74 | 20 77 69 74 68 20 78 20 |n.repeat| with x |
|00004e80| 3d 20 31 20 74 6f 20 35 | 0d 70 75 74 20 6c 69 6e |= 1 to 5|.put lin|
|00004e90| 65 20 78 20 6f 66 20 6d | 6f 76 65 54 65 78 74 20 |e x of m|oveText |
|00004ea0| 26 20 67 20 69 6e 74 6f | 20 6c 69 6e 65 20 6e 20 |& g into| line n |
|00004eb0| 6f 66 20 66 6c 64 20 78 | 0d 65 6e 64 20 72 65 70 |of fld x|.end rep|
|00004ec0| 65 61 74 0d 70 75 74 20 | 74 68 65 20 73 68 6f 72 |eat.put |the shor|
|00004ed0| 74 20 6e 61 6d 65 20 6f | 66 20 74 68 69 73 20 63 |t name o|f this c|
|00004ee0| 64 20 69 6e 74 6f 20 74 | 43 64 0d 73 75 6d 48 6f |d into t|Cd.sumHo|
|00004ef0| 75 72 73 20 74 43 64 0d | 75 6e 6c 6f 63 6b 20 73 |urs tCd.|unlock s|
|00004f00| 63 72 65 65 6e 0d 70 75 | 74 20 22 22 20 69 6e 74 |creen.pu|t "" int|
|00004f10| 6f 20 6d 6f 76 65 54 65 | 78 74 0d 65 6e 64 20 69 |o moveTe|xt.end i|
|00004f20| 66 0d 65 78 69 74 4d 6f | 76 65 0d 65 6e 64 20 64 |f.exitMo|ve.end d|
|00004f30| 6f 4d 6f 76 65 0d 0d 6f | 6e 20 63 6c 6f 73 65 4d |oMove..o|n closeM|
|00004f40| 6f 76 65 57 69 6e 64 6f | 77 73 0d 67 6c 6f 62 61 |oveWindo|ws.globa|
|00004f50| 6c 20 6d 6f 76 65 54 65 | 78 74 2c 70 61 73 74 65 |l moveTe|xt,paste|
|00004f60| 4d 6f 64 65 0d 73 65 74 | 20 63 75 72 73 6f 72 20 |Mode.set| cursor |
|00004f70| 74 6f 20 77 61 74 63 68 | 0d 70 75 74 20 66 61 6c |to watch|.put fal|
|00004f80| 73 65 20 69 6e 74 6f 20 | 63 6f 70 79 4d 6f 64 65 |se into |copyMode|
|00004f90| 0d 70 75 74 20 66 61 6c | 73 65 20 69 6e 74 6f 20 |.put fal|se into |
|00004fa0| 70 61 73 74 65 4d 6f 64 | 65 0d 70 75 74 20 22 22 |pasteMod|e.put ""|
|00004fb0| 20 69 6e 74 6f 20 6d 6f | 76 65 54 65 78 74 0d 69 | into mo|veText.i|
|00004fc0| 66 20 74 68 65 72 65 20 | 69 73 20 61 20 77 69 6e |f there |is a win|
|00004fd0| 64 6f 77 20 22 73 74 61 | 72 74 4d 6f 76 65 22 20 |dow "sta|rtMove" |
|00004fe0| 74 68 65 6e 20 63 6c 6f | 73 65 20 77 69 6e 64 6f |then clo|se windo|
|00004ff0| 77 20 22 73 74 61 72 74 | 4d 6f 76 65 22 0d 69 66 |w "start|Move".if|
|00005000| 20 74 68 65 72 65 20 69 | 73 20 61 20 77 69 6e 64 | there i|s a wind|
|00005010| 6f 77 20 22 64 6f 4d 6f | 76 65 22 20 74 68 65 6e |ow "doMo|ve" then|
|00005020| 20 63 6c 6f 73 65 20 77 | 69 6e 64 6f 77 20 22 64 | close w|indow "d|
|00005030| 6f 4d 6f 76 65 22 0d 65 | 6e 64 20 63 6c 6f 73 65 |oMove".e|nd close|
|00005040| 4d 6f 76 65 57 69 6e 64 | 6f 77 73 0d 0d 6f 6e 20 |MoveWind|ows..on |
|00005050| 67 6f 4e 65 78 74 0d 67 | 6c 6f 62 61 6c 20 70 61 |goNext.g|lobal pa|
|00005060| 6c 48 69 0d 69 66 20 74 | 68 65 72 65 20 69 73 20 |lHi.if t|here is |
|00005070| 61 20 77 69 6e 64 6f 77 | 20 22 73 65 63 74 4e 61 |a window| "sectNa|
|00005080| 76 22 0d 74 68 65 6e 20 | 73 65 74 20 74 68 65 20 |v".then |set the |
|00005090| 68 69 6c 69 74 65 64 42 | 75 74 74 6f 6e 20 6f 66 |hilitedB|utton of|
|000050a0| 20 77 69 6e 64 6f 77 20 | 22 73 65 63 74 4e 61 76 | window |"sectNav|
|000050b0| 22 20 74 6f 20 70 61 6c | 48 69 0d 67 6f 20 6e 65 |" to pal|Hi.go ne|
|000050c0| 78 74 20 63 64 20 6f 66 | 20 74 68 69 73 20 62 67 |xt cd of| this bg|
|000050d0| 0d 65 6e 64 20 67 6f 4e | 65 78 74 0d 0d 6f 6e 20 |.end goN|ext..on |
|000050e0| 67 6f 50 72 65 76 0d 67 | 6c 6f 62 61 6c 20 70 61 |goPrev.g|lobal pa|
|000050f0| 6c 48 69 0d 69 66 20 74 | 68 65 72 65 20 69 73 20 |lHi.if t|here is |
|00005100| 61 20 77 69 6e 64 6f 77 | 20 22 73 65 63 74 4e 61 |a window| "sectNa|
|00005110| 76 22 0d 74 68 65 6e 20 | 73 65 74 20 74 68 65 20 |v".then |set the |
|00005120| 68 69 6c 69 74 65 64 42 | 75 74 74 6f 6e 20 6f 66 |hilitedB|utton of|
|00005130| 20 77 69 6e 64 6f 77 20 | 22 73 65 63 74 4e 61 76 | window |"sectNav|
|00005140| 22 20 74 6f 20 70 61 6c | 48 69 0d 67 6f 20 70 72 |" to pal|Hi.go pr|
|00005150| 65 76 20 63 64 20 6f 66 | 20 74 68 69 73 20 62 67 |ev cd of| this bg|
|00005160| 0d 65 6e 64 20 67 6f 50 | 72 65 76 0d 0d 6f 6e 20 |.end goP|rev..on |
|00005170| 63 6c 6f 73 65 50 61 6c | 65 74 74 65 20 78 0d 67 |closePal|ette x.g|
|00005180| 6c 6f 62 61 6c 20 63 6f | 70 79 4d 6f 64 65 2c 70 |lobal co|pyMode,p|
|00005190| 61 73 74 65 4d 6f 64 65 | 2c 74 6b 50 72 65 66 73 |asteMode|,tkPrefs|
|000051a0| 0d 69 66 20 78 20 3d 20 | 73 74 61 72 74 4d 6f 76 |.if x = |startMov|
|000051b0| 65 20 61 6e 64 20 63 6f | 70 79 4d 6f 64 65 20 3d |e and co|pyMode =|
|000051c0| 20 74 72 75 65 20 74 68 | 65 6e 20 70 61 6c 65 74 | true th|en palet|
|000051d0| 74 65 20 73 74 61 72 74 | 4d 6f 76 65 0d 69 66 20 |te start|Move.if |
|000051e0| 78 20 3d 20 64 6f 4d 6f | 76 65 20 61 6e 64 20 70 |x = doMo|ve and p|
|000051f0| 61 73 74 65 4d 6f 64 65 | 20 3d 20 74 72 75 65 20 |asteMode| = true |
|00005200| 74 68 65 6e 20 70 61 6c | 65 74 74 65 20 64 6f 4d |then pal|ette doM|
|00005210| 6f 76 65 0d 69 66 20 78 | 20 3d 20 22 73 65 63 74 |ove.if x| = "sect|
|00005220| 4e 61 76 22 20 74 68 65 | 6e 0d 70 75 74 20 74 68 |Nav" the|n.put th|
|00005230| 65 20 74 6f 70 4c 65 66 | 74 20 6f 66 20 77 69 6e |e topLef|t of win|
|00005240| 64 6f 77 20 22 73 65 63 | 74 4e 61 76 22 20 69 6e |dow "sec|tNav" in|
|00005250| 74 6f 20 6c 69 6e 65 20 | 32 33 20 6f 66 20 74 6b |to line |23 of tk|
|00005260| 50 72 65 66 73 0d 70 75 | 74 20 22 53 68 6f 77 22 |Prefs.pu|t "Show"|
|00005270| 20 69 6e 74 6f 20 6c 69 | 6e 65 20 32 32 20 6f 66 | into li|ne 22 of|
|00005280| 20 74 6b 50 72 65 66 73 | 0d 70 75 74 20 22 53 68 | tkPrefs|.put "Sh|
|00005290| 6f 77 20 4e 61 76 69 67 | 61 74 6f 72 22 20 69 6e |ow Navig|ator" in|
|000052a0| 74 6f 20 6d 65 6e 75 49 | 74 65 6d 20 31 32 20 6f |to menuI|tem 12 o|
|000052b0| 66 20 6d 65 6e 75 20 47 | 6f 0d 65 6e 64 20 69 66 |f menu G|o.end if|
|000052c0| 0d 65 6e 64 20 63 6c 6f | 73 65 50 61 6c 65 74 74 |.end clo|sePalett|
|000052d0| 65 0d 0d 66 75 6e 63 74 | 69 6f 6e 20 69 74 65 6d |e..funct|ion item|
|000052e0| 46 69 6e 64 20 77 68 61 | 74 2c 77 68 65 72 65 2c |Find wha|t,where,|
|000052f0| 68 6f 77 0d 70 75 74 20 | 31 20 69 6e 74 6f 20 73 |how.put |1 into s|
|00005300| 74 61 72 74 4f 66 66 73 | 65 74 0d 70 75 74 20 30 |tartOffs|et.put 0|
|00005310| 20 69 6e 74 6f 20 61 64 | 64 65 72 0d 72 65 70 65 | into ad|der.repe|
|00005320| 61 74 0d 70 75 74 20 6f | 66 66 73 65 74 28 77 68 |at.put o|ffset(wh|
|00005330| 61 74 2c 63 68 61 72 20 | 73 74 61 72 74 4f 66 66 |at,char |startOff|
|00005340| 73 65 74 20 74 6f 20 6c | 65 6e 67 74 68 28 77 68 |set to l|ength(wh|
|00005350| 65 72 65 29 20 6f 66 20 | 77 68 65 72 65 29 20 69 |ere) of |where) i|
|00005360| 6e 74 6f 20 73 74 61 72 | 74 4f 66 66 73 65 74 0d |nto star|tOffset.|
|00005370| 69 66 20 73 74 61 72 74 | 4f 66 66 73 65 74 20 3d |if start|Offset =|
|00005380| 20 30 20 74 68 65 6e 20 | 72 65 74 75 72 6e 20 30 | 0 then |return 0|
|00005390| 0d 61 64 64 20 73 74 61 | 72 74 4f 66 66 73 65 74 |.add sta|rtOffset|
|000053a0| 20 74 6f 20 61 64 64 65 | 72 0d 67 65 74 20 74 68 | to adde|r.get th|
|000053b0| 65 20 6e 75 6d 62 65 72 | 20 6f 66 20 6c 69 6e 65 |e number| of line|
|000053c0| 73 20 69 6e 20 63 68 61 | 72 20 31 20 74 6f 20 61 |s in cha|r 1 to a|
|000053d0| 64 64 65 72 20 6f 66 20 | 77 68 65 72 65 0d 69 66 |dder of |where.if|
|000053e0| 20 77 68 61 74 20 3d 20 | 69 74 65 6d 20 68 6f 77 | what = |item how|
|000053f0| 20 6f 66 20 6c 69 6e 65 | 20 69 74 20 6f 66 20 77 | of line| it of w|
|00005400| 68 65 72 65 20 74 68 65 | 6e 20 72 65 74 75 72 6e |here the|n return|
|00005410| 20 69 74 0d 70 75 74 20 | 61 64 64 65 72 2b 31 20 | it.put |adder+1 |
|00005420| 69 6e 74 6f 20 73 74 61 | 72 74 4f 66 66 73 65 74 |into sta|rtOffset|
|00005430| 0d 65 6e 64 20 72 65 70 | 65 61 74 0d 65 6e 64 20 |.end rep|eat.end |
|00005440| 69 74 65 6d 46 69 6e 64 | 0d 0d 6f 6e 20 73 75 6d |itemFind|..on sum|
|00005450| 48 6f 75 72 73 20 74 43 | 64 0d 6c 6f 63 6b 20 73 |Hours tC|d.lock s|
|00005460| 63 72 65 65 6e 0d 70 75 | 74 20 66 6c 64 20 69 64 |creen.pu|t fld id|
|00005470| 20 35 20 6f 66 20 63 64 | 20 74 43 64 20 69 6e 74 | 5 of cd| tCd int|
|00005480| 6f 20 63 68 61 72 67 65 | 73 0d 70 75 74 20 66 6c |o charge|s.put fl|
|00005490| 64 20 69 64 20 36 20 6f | 66 20 63 64 20 74 43 64 |d id 6 o|f cd tCd|
|000054a0| 20 69 6e 74 6f 20 68 6f | 75 72 73 0d 73 65 74 20 | into ho|urs.set |
|000054b0| 74 68 65 20 6e 75 6d 62 | 65 72 46 6f 72 6d 61 74 |the numb|erFormat|
|000054c0| 20 74 6f 20 22 30 2e 30 | 30 22 0d 67 65 74 20 65 | to "0.0|0".get e|
|000054d0| 78 74 72 61 52 6f 75 6e | 64 28 73 75 6d 49 74 28 |xtraRoun|d(sumIt(|
|000054e0| 63 68 61 72 67 65 73 29 | 20 2a 20 31 29 0d 70 75 |charges)| * 1).pu|
|000054f0| 74 20 63 75 72 72 65 6e | 63 79 46 6f 72 6d 61 74 |t curren|cyFormat|
|00005500| 28 69 74 29 20 69 6e 74 | 6f 20 66 6c 64 20 69 64 |(it) int|o fld id|
|00005510| 20 31 31 20 6f 66 20 63 | 64 20 74 43 64 0d 70 75 | 11 of c|d tCd.pu|
|00005520| 74 20 65 78 74 72 61 52 | 6f 75 6e 64 28 73 75 6d |t extraR|ound(sum|
|00005530| 49 74 28 68 6f 75 72 73 | 29 2a 31 29 20 26 20 22 |It(hours|)*1) & "|
|00005540| 20 68 72 73 2e 22 20 69 | 6e 74 6f 20 66 6c 64 20 | hrs." i|nto fld |
|00005550| 69 64 20 34 35 20 6f 66 | 20 63 64 20 74 43 64 0d |id 45 of| cd tCd.|
|00005560| 75 6e 6c 6f 63 6b 20 73 | 63 72 65 65 6e 0d 65 6e |unlock s|creen.en|
|00005570| 64 20 73 75 6d 48 6f 75 | 72 73 0d 0d 6f 6e 20 61 |d sumHou|rs..on a|
|00005580| 70 70 6c 79 52 61 74 65 | 73 0d 67 6c 6f 62 61 6c |pplyRate|s.global|
|00005590| 20 78 4c 69 6e 65 0d 67 | 65 74 20 70 72 6f 6d 70 | xLine.g|et promp|
|000055a0| 74 44 6c 6f 67 28 32 36 | 31 39 2c 22 43 6f 6e 76 |tDlog(26|19,"Conv|
|000055b0| 65 72 74 20 61 6c 6c 20 | 4a 6f 62 20 53 68 65 65 |ert all |Job Shee|
|000055c0| 74 20 65 6e 74 72 69 65 | 73 20 74 6f 20 63 75 72 |t entrie|s to cur|
|000055d0| 72 65 6e 74 20 72 61 74 | 65 73 3f 20 28 54 68 69 |rent rat|es? (Thi|
|000055e0| 73 20 63 6f 75 6c 64 20 | 74 61 6b 65 20 61 20 77 |s could |take a w|
|000055f0| 68 69 6c 65 2e 29 22 29 | 0d 69 66 20 69 74 20 3d |hile.)")|.if it =|
|00005600| 20 34 20 6f 72 20 69 74 | 20 3d 20 32 20 74 68 65 | 4 or it| = 2 the|
|00005610| 6e 20 65 78 69 74 20 61 | 70 70 6c 79 52 61 74 65 |n exit a|pplyRate|
|00005620| 73 0d 73 65 74 20 63 75 | 72 73 6f 72 20 74 6f 20 |s.set cu|rsor to |
|00005630| 77 61 74 63 68 0d 6c 6f | 63 6b 20 73 63 72 65 65 |watch.lo|ck scree|
|00005640| 6e 0d 67 6f 20 63 64 20 | 31 20 6f 66 20 62 67 20 |n.go cd |1 of bg |
|00005650| 69 64 20 35 34 34 39 0d | 72 65 70 65 61 74 20 77 |id 5449.|repeat w|
|00005660| 69 74 68 20 78 20 3d 20 | 31 20 74 6f 20 74 68 65 |ith x = |1 to the|
|00005670| 20 6e 75 6d 62 65 72 20 | 6f 66 20 63 64 73 20 69 | number |of cds i|
|00005680| 6e 20 74 68 69 73 20 62 | 67 0d 72 65 70 65 61 74 |n this b|g.repeat|
|00005690| 20 77 69 74 68 20 78 4c | 69 6e 65 20 3d 20 31 20 | with xL|ine = 1 |
|000056a0| 74 6f 20 74 68 65 20 6e | 75 6d 62 65 72 20 6f 66 |to the n|umber of|
|000056b0| 20 6c 69 6e 65 73 20 69 | 6e 20 66 6c 64 20 69 64 | lines i|n fld id|
|000056c0| 20 33 0d 72 65 63 68 61 | 72 67 65 0d 65 6e 64 20 | 3.recha|rge.end |
|000056d0| 72 65 70 65 61 74 0d 67 | 6f 20 6e 65 78 74 20 63 |repeat.g|o next c|
|000056e0| 64 20 6f 66 20 74 68 69 | 73 20 62 67 0d 65 6e 64 |d of thi|s bg.end|
|000056f0| 20 72 65 70 65 61 74 0d | 67 6f 20 63 64 20 31 0d | repeat.|go cd 1.|
|00005700| 75 6e 6c 6f 63 6b 20 73 | 63 72 65 65 6e 0d 62 65 |unlock s|creen.be|
|00005710| 65 70 0d 65 6e 64 20 61 | 70 70 6c 79 52 61 74 65 |ep.end a|pplyRate|
|00005720| 73 0d 0d 6f 6e 20 72 65 | 43 68 61 72 67 65 0d 67 |s..on re|Charge.g|
|00005730| 6c 6f 62 61 6c 20 78 4c | 69 6e 65 0d 73 65 74 20 |lobal xL|ine.set |
|00005740| 63 75 72 73 6f 72 20 74 | 6f 20 77 61 74 63 68 0d |cursor t|o watch.|
|00005750| 6c 6f 63 6b 20 73 63 72 | 65 65 6e 0d 67 65 74 20 |lock scr|een.get |
|00005760| 69 74 65 6d 46 69 6e 64 | 28 6c 69 6e 65 20 78 4c |itemFind|(line xL|
|00005770| 69 6e 65 20 6f 66 20 66 | 6c 64 20 69 64 20 33 26 |ine of f|ld id 3&|
|00005780| 22 20 22 2c 28 66 6c 64 | 20 69 64 20 31 30 20 6f |" ",(fld| id 10 o|
|00005790| 66 20 63 64 20 31 29 2c | 31 29 0d 70 75 74 20 69 |f cd 1),|1).put i|
|000057a0| 74 65 6d 20 32 20 6f 66 | 20 6c 69 6e 65 20 69 74 |tem 2 of| line it|
|000057b0| 20 6f 66 20 66 6c 64 20 | 69 64 20 31 30 20 6f 66 | of fld |id 10 of|
|000057c0| 20 63 64 20 31 20 69 6e | 74 6f 20 67 0d 69 66 20 | cd 1 in|to g.if |
|000057d0| 67 20 ad 20 22 22 20 74 | 68 65 6e 0d 73 65 74 20 |g . "" t|hen.set |
|000057e0| 6e 75 6d 62 65 72 46 6f | 72 6d 61 74 20 74 6f 20 |numberFo|rmat to |
|000057f0| 22 30 2e 30 30 22 0d 70 | 75 74 20 65 78 74 72 61 |"0.00".p|ut extra|
|00005800| 52 6f 75 6e 64 28 28 67 | 20 2a 20 6c 69 6e 65 20 |Round((g| * line |
|00005810| 78 4c 69 6e 65 20 6f 66 | 20 66 6c 64 20 69 64 20 |xLine of| fld id |
|00005820| 36 29 29 20 69 6e 74 6f | 20 6c 69 6e 65 20 78 4c |6)) into| line xL|
|00005830| 69 6e 65 20 6f 66 20 66 | 6c 64 20 69 64 20 35 0d |ine of f|ld id 5.|
|00005840| 70 75 74 20 74 68 65 20 | 73 68 6f 72 74 20 6e 61 |put the |short na|
|00005850| 6d 65 20 6f 66 20 74 68 | 69 73 20 63 64 20 69 6e |me of th|is cd in|
|00005860| 74 6f 20 74 43 64 0d 73 | 75 6d 48 6f 75 72 73 20 |to tCd.s|umHours |
|00005870| 74 43 64 0d 65 6e 64 20 | 69 66 0d 75 6e 6c 6f 63 |tCd.end |if.unloc|
|00005880| 6b 20 73 63 72 65 65 6e | 0d 65 6e 64 20 72 65 43 |k screen|.end reC|
|00005890| 68 61 72 67 65 0d 0d 6f | 6e 20 6f 70 65 6e 43 61 |harge..o|n openCa|
|000058a0| 72 64 0d 73 65 74 20 74 | 68 65 20 64 6f 6e 74 53 |rd.set t|he dontS|
|000058b0| 65 61 72 63 68 20 6f 66 | 20 74 68 69 73 20 63 61 |earch of| this ca|
|000058c0| 72 64 20 74 6f 20 74 72 | 75 65 0d 70 61 73 73 20 |rd to tr|ue.pass |
|000058d0| 6f 70 65 6e 43 61 72 64 | 0d 65 6e 64 20 6f 70 65 |openCard|.end ope|
|000058e0| 6e 43 61 72 64 0d 0d 6f | 6e 20 63 6c 6f 73 65 43 |nCard..o|n closeC|
|000058f0| 61 72 64 0d 73 65 74 20 | 74 68 65 20 64 6f 6e 74 |ard.set |the dont|
|00005900| 53 65 61 72 63 68 20 6f | 66 20 74 68 69 73 20 63 |Search o|f this c|
|00005910| 61 72 64 20 74 6f 20 66 | 61 6c 73 65 0d 70 61 73 |ard to f|alse.pas|
|00005920| 73 20 63 6c 6f 73 65 43 | 61 72 64 0d 65 6e 64 20 |s closeC|ard.end |
|00005930| 63 6c 6f 73 65 43 61 72 | 64 0d 0d 6f 6e 20 73 65 |closeCar|d..on se|
|00005940| 74 46 69 6e 64 53 74 72 | 69 6e 67 0d 67 6c 6f 62 |tFindStr|ing.glob|
|00005950| 61 6c 20 66 69 6e 64 53 | 74 72 69 6e 67 2c 66 69 |al findS|tring,fi|
|00005960| 6e 64 4d 73 67 0d 70 75 | 74 20 22 57 68 61 74 20 |ndMsg.pu|t "What |
|00005970| 64 6f 20 79 6f 75 20 77 | 61 6e 74 20 74 6f 20 66 |do you w|ant to f|
|00005980| 69 6e 64 3f 22 69 6e 74 | 6f 20 70 72 6f 6d 70 74 |ind?"int|o prompt|
|00005990| 0d 67 65 74 20 74 65 78 | 74 44 6c 6f 67 28 35 36 |.get tex|tDlog(56|
|000059a0| 33 39 2c 70 72 6f 6d 70 | 74 2c 22 22 29 0d 69 66 |39,promp|t,"").if|
|000059b0| 20 6c 69 6e 65 20 31 20 | 6f 66 20 69 74 20 3d 20 | line 1 |of it = |
|000059c0| 32 20 6f 72 20 6c 69 6e | 65 20 32 20 6f 66 20 69 |2 or lin|e 2 of i|
|000059d0| 74 20 3d 20 22 22 20 74 | 68 65 6e 20 65 78 69 74 |t = "" t|hen exit|
|000059e0| 20 73 65 74 46 69 6e 64 | 53 74 72 69 6e 67 0d 70 | setFind|String.p|
|000059f0| 75 74 20 6c 69 6e 65 20 | 32 20 6f 66 20 69 74 20 |ut line |2 of it |
|00005a00| 69 6e 74 6f 20 66 69 6e | 64 53 74 72 69 6e 67 0d |into fin|dString.|
|00005a10| 70 75 74 20 22 66 69 6e | 64 20 77 68 6f 6c 65 22 |put "fin|d whole"|
|00005a20| 20 26 26 20 71 75 6f 74 | 65 20 26 20 66 69 6e 64 | && quot|e & find|
|00005a30| 53 74 72 69 6e 67 20 26 | 20 71 75 6f 74 65 20 69 |String &| quote i|
|00005a40| 6e 74 6f 20 66 69 6e 64 | 4d 73 67 0d 65 6e 64 20 |nto find|Msg.end |
|00005a50| 73 65 74 46 69 6e 64 53 | 74 72 69 6e 67 0d 0d 6f |setFindS|tring..o|
|00005a60| 6e 20 66 69 6e 64 41 67 | 61 69 6e 0d 67 6c 6f 62 |n findAg|ain.glob|
|00005a70| 61 6c 20 66 69 6e 64 4d | 73 67 0d 73 65 74 20 74 |al findM|sg.set t|
|00005a80| 68 65 20 64 6f 6e 74 53 | 65 61 72 63 68 20 6f 66 |he dontS|earch of|
|00005a90| 20 74 68 69 73 20 63 61 | 72 64 20 74 6f 20 74 72 | this ca|rd to tr|
|00005aa0| 75 65 0d 73 65 6e 64 20 | 66 69 6e 64 4d 73 67 20 |ue.send |findMsg |
|00005ab0| 74 6f 20 48 79 70 65 72 | 43 61 72 64 0d 69 66 20 |to Hyper|Card.if |
|00005ac0| 74 68 65 20 72 65 73 75 | 6c 74 20 ad 20 22 22 20 |the resu|lt . "" |
|00005ad0| 74 68 65 6e 20 62 65 65 | 70 0d 65 6e 64 20 66 69 |then bee|p.end fi|
|00005ae0| 6e 64 41 67 61 69 6e 0d | 0d 6f 6e 20 64 6f 46 69 |ndAgain.|.on doFi|
|00005af0| 72 73 74 46 69 6e 64 0d | 67 6c 6f 62 61 6c 20 66 |rstFind.|global f|
|00005b00| 69 6e 64 4d 73 67 0d 73 | 65 74 46 69 6e 64 53 74 |indMsg.s|etFindSt|
|00005b10| 72 69 6e 67 0d 73 65 74 | 20 74 68 65 20 64 6f 6e |ring.set| the don|
|00005b20| 74 53 65 61 72 63 68 20 | 6f 66 20 74 68 69 73 20 |tSearch |of this |
|00005b30| 63 61 72 64 20 74 6f 20 | 66 61 6c 73 65 0d 73 65 |card to |false.se|
|00005b40| 6e 64 20 66 69 6e 64 4d | 73 67 20 74 6f 20 48 79 |nd findM|sg to Hy|
|00005b50| 70 65 72 43 61 72 64 0d | 69 66 20 74 68 65 20 72 |perCard.|if the r|
|00005b60| 65 73 75 6c 74 20 3d 20 | 22 22 20 74 68 65 6e 20 |esult = |"" then |
|00005b70| 65 6e 61 62 6c 65 20 6d | 65 6e 75 49 74 65 6d 20 |enable m|enuItem |
|00005b80| 37 20 6f 66 20 6d 65 6e | 75 20 47 6f 0d 65 6c 73 |7 of men|u Go.els|
|00005b90| 65 20 62 65 65 70 0d 65 | 6e 64 20 64 6f 46 69 72 |e beep.e|nd doFir|
|00005ba0| 73 74 46 69 6e 64 0d 0d | 6f 6e 20 65 78 70 6f 72 |stFind..|on expor|
|00005bb0| 74 57 61 72 6e 0d 62 65 | 65 70 0d 73 64 41 6c 65 |tWarn.be|ep.sdAle|
|00005bc0| 72 74 20 22 50 6c 65 61 | 73 65 20 73 65 6c 65 63 |rt "Plea|se selec|
|00005bd0| 74 20 61 6e 20 65 78 70 | 6f 72 74 20 66 69 6c 65 |t an exp|ort file|
|00005be0| 20 66 6f 72 6d 61 74 2e | 22 0d 65 78 70 6f 72 74 | format.|".export|
|00005bf0| 46 6f 72 6d 61 74 0d 65 | 6e 64 20 65 78 70 6f 72 |Format.e|nd expor|
|00005c00| 74 57 61 72 6e 0d 0d 2d | 2d 20 6f 6e 20 74 6f 74 |tWarn..-|- on tot|
|00005c10| 61 6c 0d 70 75 74 20 66 | 6c 64 20 69 64 20 34 20 |al.put f|ld id 4 |
|00005c20| 69 6e 74 6f 20 68 6f 75 | 72 54 6f 74 61 6c 0d 69 |into hou|rTotal.i|
|00005c30| 66 20 68 6f 75 72 54 6f | 74 61 6c 20 3d 20 22 22 |f hourTo|tal = ""|
|00005c40| 20 74 68 65 6e 20 70 75 | 74 20 22 22 20 69 6e 74 | then pu|t "" int|
|00005c50| 6f 20 66 6c 64 20 69 64 | 20 36 37 0d 65 6c 73 65 |o fld id| 67.else|
|00005c60| 0d 73 65 74 20 74 68 65 | 20 6e 75 6d 62 65 72 46 |.set the| numberF|
|00005c70| 6f 72 6d 61 74 20 74 6f | 20 30 2e 30 30 0d 70 75 |ormat to| 0.00.pu|
|00005c80| 74 20 73 75 6d 49 74 28 | 68 6f 75 72 54 6f 74 61 |t sumIt(|hourTota|
|00005c90| 6c 29 20 69 6e 74 6f 20 | 66 6c 64 20 69 64 20 36 |l) into |fld id 6|
|00005ca0| 37 0d 65 6e 64 20 69 66 | 0d 65 6e 64 20 74 6f 74 |7.end if|.end tot|
|00005cb0| 61 6c 0d 0d 6f 6e 20 61 | 72 72 6f 77 4b 65 79 20 |al..on a|rrowKey |
|00005cc0| 78 0d 69 66 20 74 68 65 | 20 63 6f 6d 6d 61 6e 64 |x.if the| command|
|00005cd0| 4b 65 79 20 3d 20 64 6f | 77 6e 20 74 68 65 6e 20 |Key = do|wn then |
|00005ce0| 70 75 74 20 74 72 75 65 | 20 69 6e 74 6f 20 6d 6f |put true| into mo|
|00005cf0| 64 4b 65 79 0d 65 6c 73 | 65 20 70 75 74 20 66 61 |dKey.els|e put fa|
|00005d00| 6c 73 65 20 69 6e 74 6f | 20 6d 6f 64 4b 65 79 0d |lse into| modKey.|
|00005d10| 69 66 20 78 20 3d 20 6c | 65 66 74 20 61 6e 64 20 |if x = l|eft and |
|00005d20| 6e 6f 74 20 6d 6f 64 4b | 65 79 20 74 68 65 6e 0d |not modK|ey then.|
|00005d30| 67 6f 20 70 72 65 76 20 | 63 64 20 6f 66 20 74 68 |go prev |cd of th|
|00005d40| 69 73 20 62 67 0d 65 78 | 69 74 20 61 72 72 6f 77 |is bg.ex|it arrow|
|00005d50| 4b 65 79 0d 65 6c 73 65 | 20 69 66 20 78 20 3d 20 |Key.else| if x = |
|00005d60| 72 69 67 68 74 20 61 6e | 64 20 6e 6f 74 20 6d 6f |right an|d not mo|
|00005d70| 64 4b 65 79 20 74 68 65 | 6e 0d 67 6f 20 6e 65 78 |dKey the|n.go nex|
|00005d80| 74 20 63 64 20 6f 66 20 | 74 68 69 73 20 62 67 0d |t cd of |this bg.|
|00005d90| 65 78 69 74 20 61 72 72 | 6f 77 4b 65 79 0d 65 6c |exit arr|owKey.el|
|00005da0| 73 65 20 69 66 20 78 20 | 3d 20 64 6f 77 6e 20 61 |se if x |= down a|
|00005db0| 6e 64 20 6e 6f 74 20 6d | 6f 64 4b 65 79 20 74 68 |nd not m|odKey th|
|00005dc0| 65 6e 0d 67 6f 20 6c 61 | 73 74 20 63 64 20 6f 66 |en.go la|st cd of|
|00005dd0| 20 74 68 69 73 20 62 67 | 0d 65 78 69 74 20 61 72 | this bg|.exit ar|
|00005de0| 72 6f 77 4b 65 79 0d 65 | 6c 73 65 20 69 66 20 78 |rowKey.e|lse if x|
|00005df0| 20 3d 20 75 70 20 61 6e | 64 20 6e 6f 74 20 6d 6f | = up an|d not mo|
|00005e00| 64 4b 65 79 20 74 68 65 | 6e 0d 67 6f 20 66 69 72 |dKey the|n.go fir|
|00005e10| 73 74 20 63 64 20 6f 66 | 20 74 68 69 73 20 62 67 |st cd of| this bg|
|00005e20| 0d 65 78 69 74 20 61 72 | 72 6f 77 4b 65 79 0d 65 |.exit ar|rowKey.e|
|00005e30| 6c 73 65 20 70 61 73 73 | 20 61 72 72 6f 77 4b 65 |lse pass| arrowKe|
|00005e40| 79 0d 65 6e 64 20 61 72 | 72 6f 77 4b 65 79 0d 0d |y.end ar|rowKey..|
|00005e50| 66 75 6e 63 74 69 6f 6e | 20 74 6b 4e 61 76 4c 6f |function| tkNavLo|
|00005e60| 63 0d 67 6c 6f 62 61 6c | 20 74 6b 50 72 65 66 73 |c.global| tkPrefs|
|00005e70| 0d 69 66 20 6c 69 6e 65 | 20 32 33 20 6f 66 20 74 |.if line| 23 of t|
|00005e80| 6b 50 72 65 66 73 20 ad | 20 22 22 20 74 68 65 6e |kPrefs .| "" then|
|00005e90| 20 72 65 74 75 72 6e 20 | 6c 69 6e 65 20 32 33 20 | return |line 23 |
|00005ea0| 6f 66 20 74 6b 50 72 65 | 66 73 0d 65 6c 73 65 20 |of tkPre|fs.else |
|00005eb0| 72 65 74 75 72 6e 20 22 | 31 32 37 2c 33 30 35 22 |return "|127,305"|
|00005ec0| 0d 65 6e 64 20 74 6b 4e | 61 76 4c 6f 63 0d 0d 6f |.end tkN|avLoc..o|
|00005ed0| 6e 20 67 6f 54 6f 44 61 | 69 6c 79 4c 6f 67 0d 67 |n goToDa|ilyLog.g|
|00005ee0| 6c 6f 62 61 6c 20 62 61 | 74 63 68 4d 6f 64 65 2c |lobal ba|tchMode,|
|00005ef0| 63 6f 70 79 4d 6f 64 65 | 2c 70 61 73 74 65 4d 6f |copyMode|,pasteMo|
|00005f00| 64 65 0d 69 66 20 62 61 | 74 63 68 4d 6f 64 65 20 |de.if ba|tchMode |
|00005f10| 3d 20 74 72 75 65 20 6f | 72 20 70 61 73 74 65 4d |= true o|r pasteM|
|00005f20| 6f 64 65 20 3d 20 74 72 | 75 65 20 6f 72 20 63 6f |ode = tr|ue or co|
|00005f30| 70 79 4d 6f 64 65 20 3d | 20 74 72 75 65 0d 74 68 |pyMode =| true.th|
|00005f40| 65 6e 0d 62 65 65 70 0d | 65 78 69 74 20 67 6f 54 |en.beep.|exit goT|
|00005f50| 6f 44 61 69 6c 79 4c 6f | 67 0d 65 6e 64 20 69 66 |oDailyLo|g.end if|
|00005f60| 0d 67 6f 20 63 64 20 31 | 0d 65 6e 64 20 67 6f 54 |.go cd 1|.end goT|
|00005f70| 6f 44 61 69 6c 79 4c 6f | 67 0d 0d 6f 6e 20 67 6f |oDailyLo|g..on go|
|00005f80| 54 6f 4a 6f 62 53 68 65 | 65 74 73 0d 67 6c 6f 62 |ToJobShe|ets.glob|
|00005f90| 61 6c 20 62 61 74 63 68 | 4d 6f 64 65 2c 63 6f 70 |al batch|Mode,cop|
|00005fa0| 79 4d 6f 64 65 2c 70 61 | 73 74 65 4d 6f 64 65 0d |yMode,pa|steMode.|
|00005fb0| 69 66 20 62 61 74 63 68 | 4d 6f 64 65 20 3d 20 74 |if batch|Mode = t|
|00005fc0| 72 75 65 20 6f 72 20 70 | 61 73 74 65 4d 6f 64 65 |rue or p|asteMode|
|00005fd0| 20 3d 20 74 72 75 65 20 | 6f 72 20 63 6f 70 79 4d | = true |or copyM|
|00005fe0| 6f 64 65 20 3d 20 74 72 | 75 65 0d 74 68 65 6e 0d |ode = tr|ue.then.|
|00005ff0| 62 65 65 70 0d 65 78 69 | 74 20 67 6f 54 6f 4a 6f |beep.exi|t goToJo|
|00006000| 62 53 68 65 65 74 73 0d | 65 6e 64 20 69 66 0d 67 |bSheets.|end if.g|
|00006010| 6f 20 6c 61 73 74 20 63 | 64 20 6f 66 20 62 67 20 |o last c|d of bg |
|00006020| 69 64 20 35 34 34 39 0d | 65 6e 64 20 67 6f 54 6f |id 5449.|end goTo|
|00006030| 4a 6f 62 53 68 65 65 74 | 73 0d 0d 6f 6e 20 67 6f |JobSheet|s..on go|
|00006040| 54 6f 54 69 6d 65 53 68 | 65 65 74 73 0d 67 6c 6f |ToTimeSh|eets.glo|
|00006050| 62 61 6c 20 62 61 74 63 | 68 4d 6f 64 65 2c 63 6f |bal batc|hMode,co|
|00006060| 70 79 4d 6f 64 65 2c 70 | 61 73 74 65 4d 6f 64 65 |pyMode,p|asteMode|
|00006070| 0d 69 66 20 62 61 74 63 | 68 4d 6f 64 65 20 3d 20 |.if batc|hMode = |
|00006080| 74 72 75 65 20 6f 72 20 | 70 61 73 74 65 4d 6f 64 |true or |pasteMod|
|00006090| 65 20 3d 20 74 72 75 65 | 20 6f 72 20 63 6f 70 79 |e = true| or copy|
|000060a0| 4d 6f 64 65 20 3d 20 74 | 72 75 65 0d 74 68 65 6e |Mode = t|rue.then|
|000060b0| 0d 62 65 65 70 0d 65 78 | 69 74 20 67 6f 54 6f 54 |.beep.ex|it goToT|
|000060c0| 69 6d 65 53 68 65 65 74 | 73 0d 65 6e 64 20 69 66 |imeSheet|s.end if|
|000060d0| 0d 67 6f 20 6c 61 73 74 | 20 63 64 0d 65 6e 64 20 |.go last| cd.end |
|000060e0| 67 6f 54 6f 54 69 6d 65 | 53 68 65 65 74 73 0d 0d |goToTime|Sheets..|
|000060f0| 6f 6e 20 67 6f 74 6f 41 | 72 63 68 69 76 65 0d 67 |on gotoA|rchive.g|
|00006100| 6c 6f 62 61 6c 20 62 61 | 74 63 68 4d 6f 64 65 2c |lobal ba|tchMode,|
|00006110| 63 6f 70 79 4d 6f 64 65 | 2c 70 61 73 74 65 4d 6f |copyMode|,pasteMo|
|00006120| 64 65 0d 69 66 20 62 61 | 74 63 68 4d 6f 64 65 20 |de.if ba|tchMode |
|00006130| 3d 20 74 72 75 65 20 6f | 72 20 70 61 73 74 65 4d |= true o|r pasteM|
|00006140| 6f 64 65 20 3d 20 74 72 | 75 65 20 6f 72 20 63 6f |ode = tr|ue or co|
|00006150| 70 79 4d 6f 64 65 20 3d | 20 74 72 75 65 0d 74 68 |pyMode =| true.th|
|00006160| 65 6e 0d 62 65 65 70 0d | 65 78 69 74 20 67 6f 74 |en.beep.|exit got|
|00006170| 6f 41 72 63 68 69 76 65 | 0d 65 6e 64 20 69 66 0d |oArchive|.end if.|
|00006180| 67 6f 20 6c 61 73 74 20 | 63 64 20 6f 66 20 62 67 |go last |cd of bg|
|00006190| 20 69 64 20 34 37 31 37 | 0d 65 6e 64 20 67 6f 54 | id 4717|.end goT|
|000061a0| 6f 41 72 63 68 69 76 65 | 0d 0d 6f 6e 20 68 69 64 |oArchive|..on hid|
|000061b0| 65 54 4b 4e 61 76 0d 67 | 6c 6f 62 61 6c 20 74 6b |eTKNav.g|lobal tk|
|000061c0| 50 72 65 66 73 0d 69 66 | 20 74 68 65 72 65 20 69 |Prefs.if| there i|
|000061d0| 73 20 61 20 77 69 6e 64 | 6f 77 20 22 73 65 63 74 |s a wind|ow "sect|
|000061e0| 4e 61 76 22 20 74 68 65 | 6e 20 63 6c 6f 73 65 20 |Nav" the|n close |
|000061f0| 77 69 6e 64 6f 77 20 22 | 73 65 63 74 4e 61 76 22 |window "|sectNav"|
|00006200| 0d 70 75 74 20 22 53 68 | 6f 77 20 4e 61 76 69 67 |.put "Sh|ow Navig|
|00006210| 61 74 6f 72 22 20 69 6e | 74 6f 20 6d 65 6e 75 49 |ator" in|to menuI|
|00006220| 74 65 6d 20 31 32 20 6f | 66 20 6d 65 6e 75 20 47 |tem 12 o|f menu G|
|00006230| 6f 0d 70 75 74 20 22 53 | 68 6f 77 22 20 69 6e 74 |o.put "S|how" int|
|00006240| 6f 20 6c 69 6e 65 20 32 | 32 20 6f 66 20 74 6b 50 |o line 2|2 of tkP|
|00006250| 72 65 66 73 0d 65 6e 64 | 20 68 69 64 65 54 4b 4e |refs.end| hideTKN|
|00006260| 61 76 0d 0d 6f 6e 20 73 | 65 74 43 75 72 72 0d 67 |av..on s|etCurr.g|
|00006270| 6c 6f 62 61 6c 20 74 6b | 50 72 65 66 73 0d 69 66 |lobal tk|Prefs.if|
|00006280| 20 69 74 65 6d 20 31 20 | 6f 66 20 6c 69 6e 65 20 | item 1 |of line |
|00006290| 32 34 20 6f 66 20 74 6b | 50 72 65 66 73 20 3d 20 |24 of tk|Prefs = |
|000062a0| 22 22 20 74 68 65 6e 20 | 70 75 74 20 22 24 22 20 |"" then |put "$" |
|000062b0| 69 6e 74 6f 20 69 74 65 | 6d 20 31 20 6f 66 20 6c |into ite|m 1 of l|
|000062c0| 69 6e 65 20 32 34 20 6f | 66 20 74 6b 50 72 65 66 |ine 24 o|f tkPref|
|000062d0| 73 0d 69 66 20 69 74 65 | 6d 20 32 20 6f 66 20 6c |s.if ite|m 2 of l|
|000062e0| 69 6e 65 20 32 34 20 6f | 66 20 74 6b 50 72 65 66 |ine 24 o|f tkPref|
|000062f0| 73 20 ad 20 34 20 6f 72 | 20 69 74 65 6d 20 32 20 |s . 4 or| item 2 |
|00006300| 6f 66 20 6c 69 6e 65 20 | 32 34 20 6f 66 20 74 6b |of line |24 of tk|
|00006310| 50 72 65 66 73 20 ad 20 | 35 0d 74 68 65 6e 20 70 |Prefs . |5.then p|
|00006320| 75 74 20 35 20 69 6e 74 | 6f 20 69 74 65 6d 20 32 |ut 5 int|o item 2|
|00006330| 20 6f 66 20 6c 69 6e 65 | 20 32 34 20 6f 66 20 74 | of line| 24 of t|
|00006340| 6b 50 72 65 66 73 0d 73 | 68 6f 77 44 69 61 6c 6f |kPrefs.s|howDialo|
|00006350| 67 20 33 2c 31 32 38 35 | 2c 2c 2c 69 74 65 6d 20 |g 3,1285|,,,item |
|00006360| 31 20 6f 66 20 6c 69 6e | 65 20 32 34 20 6f 66 20 |1 of lin|e 24 of |
|00006370| 74 6b 50 72 65 66 73 2c | 69 74 65 6d 20 32 20 6f |tkPrefs,|item 2 o|
|00006380| 66 20 6c 69 6e 65 20 32 | 34 20 6f 66 20 74 6b 50 |f line 2|4 of tkP|
|00006390| 72 65 66 73 0d 69 66 20 | 74 68 65 20 72 65 73 75 |refs.if |the resu|
|000063a0| 6c 74 20 3d 20 22 22 20 | 74 68 65 6e 20 65 78 69 |lt = "" |then exi|
|000063b0| 74 20 74 6f 20 68 79 70 | 65 72 63 61 72 64 0d 67 |t to hyp|ercard.g|
|000063c0| 65 74 20 74 68 65 20 72 | 65 73 75 6c 74 0d 70 75 |et the r|esult.pu|
|000063d0| 74 20 63 68 61 72 20 31 | 20 6f 66 20 6c 69 6e 65 |t char 1| of line|
|000063e0| 20 32 20 6f 66 20 69 74 | 20 69 6e 74 6f 20 69 74 | 2 of it| into it|
|000063f0| 65 6d 20 31 20 6f 66 20 | 6c 69 6e 65 20 32 34 20 |em 1 of |line 24 |
+--------+-------------------------+-------------------------+--------+--------+
Only 25.0 KB of data is shown above.